Home / 11th(ENG) - GSEB Board / Reading Mode

📖 Reading Mode: 11th(ENG) - GSEB Board

Chapter: Basic Ubuntu Linux Commands • Total: 323 MCQs

MCQ 1 Counting Letters, Words and Characters in a File

Which of the following command is used to count the total number of lines, words, and characters contained in a file?

A countw
B weount
C wc
D wordcount
MCQ 2 Deleting a File (rm)

Which of the following command is used to remove files?

A dm
B rm
C delete
D erase
MCQ 3 Remove Directory (rmdir)

Which of the following command is used to remove the directory?

A rdir
B remove
C rd
D rmdir
MCQ 4 Counting Letters, Words and Characters in a File

Which of the following command is used to count just the number of lines contained in a file?

A wc - r
B wc - w
C wc - c
D wc - l
MCQ 5 Changing Permissions (chmod)

The command chmod 761 letter is equivalent to which of the following access rights?

A chmod u=7, g = 6, o = 1
B chmod a = 761
C chmod u = rws, g = rw, o = x
D chmod 167
MCQ 6 Naming Conventions in Liunx

Which of the following refers to the maximum length of a filename in Linux?

A 8
B 10
C 200
D 255
MCQ 7 Working with Directories

The hierarchy of a series of directories branching in a user system starts from which of the following directories?

A home
B oot
C /home
D /root
MCQ 8 Copying a File (cp)

Which of the following command is used to copy a file?

A tar
B cpio
C cp
D copy
MCQ 9 Present Working Directory (pwd)

Which of the following command is used to display your current working directory?

A path
B pwd
C prompt $p$g
D dir
MCQ 10 Pattern Matching (grep)

Which of the following command is used for searching a pattern in a file?

A grep
B find
C lookup
D All of the above
MCQ 11 I/O Redirection

Which of the following is not a redirection symbol?

A >
B <
C *
D >>
MCQ 12 Changing Permissions (chmod)

Which of the following syntax is correct to assign a read permission on a user file?

A chmod r filename
B chmod u+r filename
C chmod filename r
D chmod filename u+r
MCQ 13 Copying a File (cp)

Which of the following refers to the minimum arguments of cp command?

A One
B Two
C Three
D None
MCQ 14 Moving Around the File System

The mv command in Linux is used for which of the following purpose?

A To rename a directory
B To move a file
C To copy a file
D All of the above
MCQ 15 Piping Output (more)

Which of the following command is used to view one page content on the screen at a time?

A More
B more
C PAGE
D page
MCQ 16 Starting up the Terminal

Shortcut key for open terminal

A Ctrl + Alt + t
B Ctrl + Alt + p
C Ctrl + Alt + e
D Ctrl + Alt + k
MCQ 17 Starting up the Terminal

What is the full form of CLI?

A Command line interline
B command line interface
C Command line interaction
D command line interchange
MCQ 18 Starting up the Terminal

What is the full form of GUI?

A Graphical used interface
B Graphical user interchange
C Graphical user interface
D Graphical user interface
MCQ 19 Issuing General Purpose Commands

in Linux, date command display only the current date in _______ format

A dd/mm/yy
B mm/dd/yyyy
C dd/mm/yyyy
D mm/dd/yy
MCQ 20 Clearing the Screen (clear)

Which command used to remove data on the screen?

A clear
B delete
C remove
D clear screen
MCQ 21 Present Working Directory (pwd)

Which command used to display the current working directory ?

A pswd
B pword
C cp
D pwd
MCQ 22 Working with Directories

Directories in Linux can be created using _______ command.

A make
B cat
C mkdir
D mk dir
MCQ 23 Changing Directory (cd)

which command used to change directory ?

A cd
B cd ....
C .. cd
D All of the above
MCQ 24 Changing Directory (cd)

which command used to comeback to previous(Parent) directory ?

A change
B pwd
C cd ..
D cd
MCQ 25 Command Syntax

Linux command as _______ or ________.

A Internal
B external
C (a) and (b)
D binary
MCQ 26 Command Syntax

Linux command can be classified into _________ categories.

A 1
B 2
C 3
D 4
MCQ 27 Pattern Matching the Wildcards

-t option sorts the files according to ____

A last modification time
B last access time
C ASCII collating sequence
D file size
MCQ 28 Starting up the Terminal

which symbol refer to home directory of the user ?

A *
B /
C ~
D &
MCQ 29 Starting up the Terminal

Press ______ key to scroll down the content

A f
B shift
C enter
D q
MCQ 30 Starting up the Terminal

Which command used along with other commands to give meaningful output ?

A echo
B each
C print
D shell
MCQ 31 Starting up the Terminal

Which command used to return the command prompt ?

A Ctrl + d
B Ctrl + e
C Ctrl + c
D Ctrl + f
MCQ 32 The Command Line Calculator (bc)

Which function allows user to set numbering system to use for output ?

A outbase
B obase
C inbase
D ibase
MCQ 33 Starting up the Terminal

_________ command is used to assist the user while working on the command line interface.

A Help
B Man
C Both A and B
D None of these
MCQ 34 Starting up the Terminal

________ command search all directory and sub directory available on root only.

A find / -type d
B find . -mtime -1
C find -executable
D find . -mtime +1
MCQ 35 Character Conversion (tr)

_______ command is used to convert strings or patterns from one set of characters to another.

A convert
B convert
C trs
D tr
MCQ 36 Ordering Output (sort)

_________ command is used to order the data stored within a file in ascending or descending sequence.

A cut
B sort
C tr
D All of above
MCQ 37 Slicing a File Vertically (cut)

cut command with_______ option is used to extract specific characters from each line of the file.

A -d
B -c
C -cut
D -r
MCQ 38 Starting up the Terminal

_________ command is used to display the required number of lines at the end of the files.

A Head
B Tail
C Top
D Bottom
MCQ 39 Starting up the Terminal

_________ command is used to display the required number of lines at the beginning of the files.

A Head
B Tail
C Top
D Bottom
MCQ 40 Starting up the Terminal

________ symbol is used to provide output of one command as an input to another command.

A ~
B |
C >
D >>
MCQ 41 Running Commands as a Superuser

Which command is used to deletes a group from the system ?

A adduser
B passwd
C who
D delgroup
MCQ 42 Running Commands as a Superuser

Which command is used to delete a user from the system ?

A adduser
B deluser
C who
D addgroup
MCQ 43 Starting up the Terminal

Which command accept data from standard inputs, manipulate it and write the results to standard output ?

A Filters
B Users
C writers
D Beginners
MCQ 44 Starting up the Terminal

In ASCII, sorting first applies on ________.

A whitespace, numerals, uppercase, lowercase
B whitespace, uppercase, lowercase , numerals
C numerals , uppercase, lowercase , whitespace
D whitespace, numerals, lowercase , uppercase
MCQ 45 Starting up the Terminal

Which repetition operator is used if the preceding item will be matched one or more times ?

A *
B +
C ?
D all of the mentioned
MCQ 46 Starting up the Terminal

Which repetition operator is used if the preceding item is matched n or more number of times.

A {n}
B {n,}
C {,m}
D {n,m}
MCQ 47 Starting up the Terminal

To use superuser account when using the terminal, we need to add ________ as a prefix to the command.

A khado
B sado
C sudo
D ludo
MCQ 48 Starting up the Terminal

Which command is used to change the password of any valid user of the system ?

A adduser
B passwd
C who
D addgroup
MCQ 49 Starting up the Terminal

which command is used for comparing two files?

A cmp
B diff
C compair
D comp
MCQ 50 Starting up the Terminal

Which of the following command is used to count the total number of lines, words, and characters contained in a file?

A countw
B weount
C wc
D wordcount
MCQ 51 Starting up the Terminal

Which of the following command is used to remove files?

A dm
B rm
C delete
D erase
MCQ 52 Starting up the Terminal

Which of the following command is used to remove the directory?

A rdir
B remove
C rd
D rmdir
MCQ 53 Starting up the Terminal

Which of the following command is used to count just the number of lines contained in a file?

A wc - r
B wc - w
C wc - c
D wc - l
MCQ 54 Starting up the Terminal

The command chmod 761 letter is equivalent to which of the following access rights?

A chmod u=7, g = 6, o = 1
B chmod a = 761
C chmod u = rws, g = rw, o = x
D chmod 167
MCQ 55 Starting up the Terminal

Which of the following refers to the maximum length of a filename in Linux?

A 8
B 10
C 200
D 255
MCQ 56 Starting up the Terminal

The hierarchy of a series of directories branching in a user system starts from which of the following directories?

A \home
B \root
C /home
D /root
MCQ 57 Starting up the Terminal

Which of the following command is used to copy a file?

A tar
B cpio
C cp
D copy
MCQ 58 Starting up the Terminal

Which of the following command is used to display your current working directory?

A path
B pwd
C prompt $p$g
D dir
MCQ 59 Starting up the Terminal

Which of the following command is used for searching a pattern in a file?

A grep
B find
C lookup
D All of the above
MCQ 60 Starting up the Terminal

Which of the following is not a redirection symbol?

A >
B <
C *
D >>
MCQ 61 Starting up the Terminal

Which of the following refers to the minimum arguments of cp command?

A One
B Two
C Three
D None
MCQ 62 Starting up the Terminal

The mv command in Linux is used for which of the following purpose?

A To rename a directory
B To move a file
C To copy a file
D All of the above
MCQ 63 Starting up the Terminal

Which of the following command is used to view one page content on the screen at a time?

A More
B more
C PAGE
D page
MCQ 64 Starting up the Terminal

Once user logins by the use of what operating system does he converse ?

A Open interface
B Command line interface
C Graphical interface
D Both B and C
MCQ 65 Starting up the Terminal

Which interface use approach gives us better understanding, uniformity, effectiveness, high effectiveness for real strength of Linux ?

A Graphical interface
B Command line interface
C Both A and B
D Open interface
MCQ 66 Starting up the Terminal

Which window is there in Linux for opening command line console in Linus graphical interface ?

A Prompt window
B Terminal window
C Dialogue window
D Graphics window
MCQ 67 Starting up the Terminal

Which command is given in opening terminal window in Linux ?

A Application/Terminal
B Application/Action/Terminal
C Application/Accessories/Terminal
D None of these
MCQ 68 Starting up the Terminal

Which of the following indicates that interface is ready to dialogue with user in form of command ?

A Login Prompt
B Command Prompt
C System Prompt
D Admin Prompt
MCQ 69 Starting up the Terminal

What does command prompt suggest ?

A Interface is ready
B Condition of command
C Interface is not ready
D Result of command
MCQ 70 Starting up the Terminal

In Linux what does programme for proving specific task suggest ?

A Method
B Characteristic
C Option
D Command
MCQ 71 Starting up the Terminal

What does command line interface say in Linux ? OR In Linux which is user programme that provides environment for mutual interaction ?

A Task
B Prompt
C Shell
D Script
MCQ 72 Starting up the Terminal

What is shell ?

A Programme for user
B Command line interface
C It gives, receives command and converses with kernel for implementation
D All of these
MCQ 73 Starting up the Terminal

How many shells are available on shell for working on Linux system ?

A 10
B 100
C 50
D innumerable
MCQ 74 Starting up the Terminal

Which of the following is a well-known shell ?

A shell csh and tcsh
B Bourne shell bash shell sh
C Corn shell ksh
D All of these
MCQ 75 Starting up the Terminal

What is the short name for Bourne shell ? OR Which is Unix shell before it ?

A barn
B korn
C csh
D sh
MCQ 76 Starting up the Terminal

What is the name or command of file for implementing corn shell ?

A ksh
B csh
C sh
D bsh
MCQ 77 Starting up the Terminal

How many files or commands are there for implementing C shell ?

A 1
B 2
C 3
D 4
MCQ 78 Starting up the Terminal

Which shell contributes basic arrangement for shell script programming ?

A Bourne
B Corn
C C
D bash
MCQ 79 Starting up the Terminal

At present which is authentic shell for all Linux systems ?

A tcsh
B ksh
C bash
D sh
MCQ 80 Starting up the Terminal

What can be said about English letters in context of Linux ?

A It is not case sensitive
B It is internally case sensitive
C It is completely case sensitive
D It does not understand English letters
MCQ 81 Starting up the Terminal

Which command is given to obtain all the shells in your computer ?

A echo $shell
B echo/etc/shells
C cat/etc/shells
D cat/etc/shells
MCQ 82 Starting up the Terminal

Which is the command for showing default or predetermined shell ?

A cat$SHELL
B ECHO SHELL
C echo $shell
D echo SHELL
MCQ 83 Starting up the Terminal

How is the shell, through which we work is known once we login ?

A Command
B System
C Default
D Temporary
MCQ 84 Starting up the Terminal

If a shell other than predetermined one is to be used, what is done ?

A Name of that shell is typed on command line
B echo/etc/bash is given
C To change shell command is given
D Not possible
MCQ 85 Starting up the Terminal

What is nature of interchange of shell ?

A Permanent
B Temporary
C Momentary
D 60 Minutes
MCQ 86 Starting up the Terminal

What is given on command prompt to return to previous shell ?

A Ctrl+d
B exit
C Both A and B
D quit
MCQ 87 Starting up the Terminal

How many parts is Linux command divided in ?

A 2
B 3
C 4
D 5
MCQ 88 Starting up the Terminal

Which of the following is used in Linux command ?

A Name
B Option
C Argument
D All of these
MCQ 89 Starting up the Terminal

How many letters or numbers do generally make command ?

A 0
B 1
C 2
D 3
MCQ 90 Starting up the Terminal

What signs begin direction that affects change in the bahvaiour of zero or more directions ?

A _ Underscore
B $Dollar
C #Hash
D ? hyphen
MCQ 91 Starting up the Terminal

How are information units from zero or more known that enable command to complete its task ?

A Action
B Options
C Argument
D Shell
MCQ 92 Starting up the Terminal

In which environment variable is value of present predetermined shell preserved ?

A SHELL
B Shell
C Home
D None of these
MCQ 93 Starting up the Terminal

Which two features are included in Korn Shell ?

A sh and csh
B sh and ksh
C ksh and tcsh
D sh and bsh
MCQ 94 Starting up the Terminal

In how many can Linux command be given ?

A 1
B 2
C 3
D 4
MCQ 95 Starting up the Terminal

Which of the following is the method of giving command in Linux ?

A Give Enter after typing the full command
B Press Tab key after typing some letters of command
C Both A and B
D None of these
MCQ 96 Starting up the Terminal

Which key is pressed in Linux for implementation of Linux command ?

A Enter
B Tab
C Both A and B
D Ctrl + Enter
MCQ 97 Starting up the Terminal

Which command is used in Linux to prepare a calendar of current month of some specific month and the whole year ?

A CAL
B echo cal
C cal
D Calendar
MCQ 98 Starting up the Terminal

State the output seen on giving cal in , command prompt.

A Calendar of current year
B Calendar of current month
C Calendar of previous year
D Cal help
MCQ 99 Starting up the Terminal

Which command is given to see calendar of 2013 ?

A cal 2013 09
B cal Sep 2013
C cal 09 2013
D both B and C
MCQ 100 Starting up the Terminal

Which command is given to see calendar of year 2013 ?

A cal all 2013
B cal 2013
C cal 1-12 2013
D not possible
MCQ 101 Starting up the Terminal

Which command is used to see pagewise output of Linux command ?

A Page
B | pipe
C Pause
D more
MCQ 102 Starting up the Terminal

Which command is used to separate two commands located in one command of Linux ?

A @
B |
C &
D #
MCQ 103 Starting up the Terminal

Which command does Cal 2013|more contain ?

A cal
B more
C |
D Both A and B
MCQ 104 Starting up the Terminal

In Cal 2013|more which command gets input from which command ?

A more, cal
B cal,more
C 2013, more
D | more
MCQ 105 Starting up the Terminal

Which command is used to show system date and time in Linux ?

A Date
B date
C Sysdate
D today
MCQ 106 Starting up the Terminal

Which sign is placed before indicators identified as argument of date command ?

A ?
B |
C +
D $
MCQ 107 Starting up the Terminal

In which format is date seen on giving date+%D ?

A dd//mm/yy
B mm/dd/yy
C yy/mm/dd
D According to system
MCQ 108 Starting up the Terminal

What kind of indictor is used for hh:mm:ss form of time ?

A %t
B %T
C %H
D %hms
MCQ 109 Starting up the Terminal

What information is seen Linux date command output ?

A System date
B System time
C Both A and B
D None of these
MCQ 110 Starting up the Terminal

Which command is there for use of calculator in Linux command line ?

A cb
B cal
C calc
D be
MCQ 111 Starting up the Terminal

Which switch is used for be command ?

A -C
B -1
C -L
D -d
MCQ 112 Starting up the Terminal

Which library does be command come into on giving bc-1 ?

A Standard ibase
B Standard obase
C Standard math
D Both A and B
MCQ 113 Starting up the Terminal

Which mathematical functions can be performed in command line calculator ?

A Multiplication-division
B Subtraction
C Addition
D All of these
MCQ 114 Starting up the Terminal

Which mathematical functions are available in command line calculator ?

A Sine and cosine
B Trigonometry and logarithm
C Arctangent and log
D All of these
MCQ 115 Starting up the Terminal

Which option is used to find out square root of a number in command line calculator ?

A root
B sqrt
C sqr
D srt
MCQ 116 Starting up the Terminal

Which command is given in command line calculator to find natural logarithm of 10 ?

A h10
B I10
C log10
D L10
MCQ 117 Starting up the Terminal

What is used to set number method input in Linux calculator ?

A itbase
B inbase
C inputbase
D ibase
MCQ 118 Starting up the Terminal

What is used in Linux calculator to set number method in output ?

A Outputbase
B Outbase
C Obase
D Otbase
MCQ 119 Starting up the Terminal

Which will be the sixteen digit number for decimal number 256 ?

A 110
B 100
C 265
D 1100100
MCQ 120 Starting up the Terminal

How is command line be calculator as compared to graphics calculator ?

A Speedy
B Flexible
C Both A and B
D None of these
MCQ 121 Starting up the Terminal

Which key is used to return to command prompt from command line calculator ?

A Ctrl + X
B Ctrl + d
C Ctril + exit
D Ctrl + q
MCQ 122 Starting up the Terminal

Which command is used to show any message on Linux terminal ?

A Echo
B $
C Message
D None of these
MCQ 123 Starting up the Terminal

State the use of echo command.

A To display values of variable
B To display a message
C Along with other commands to give meaningful output
D All of these
MCQ 124 Starting up the Terminal

What is seen when $ given before the name of any variable ?

A Will print the name of variable
B Will print the value of variable
C Will print$
D Both A and B
MCQ 125 Starting up the Terminal

When $ is not given before the name of any variable what is seen ?

A Will print the name of variable
B Will print the value of variable
C Will print$
D Both A and B
MCQ 126 Starting up the Terminal

In Linux, when command output is to be written with message, between what respective signs is the command written ? OR In which sign and is echo statement to be implemented is shown ?

A Double quote ? ?
B Single quote ? ?
C Back quote ? ?
D < >
MCQ 127 Starting up the Terminal

In the command ?Today?s date is ?date + ? | ? D? which command is implemented first ? ?

A Echo
B % D
C date
D +
MCQ 128 Starting up the Terminal

Which command is used to change password of login account ?

A pwd
B psa
C psswd
D passwd
MCQ 129 Starting up the Terminal

Which command is used to delete the writing shown on screen ?

A els
B clrscr
C clear
D all of these
MCQ 130 Starting up the Terminal

Which command is used for the help of any command ?

A help
B man
C whatis
D all of these
MCQ 131 Starting up the Terminal

Which command is used to offer short description of any command ?

A help
B man
C whatis
D all of these
MCQ 132 Starting up the Terminal

Which command is used to get total information about any command ?

A help
B man
C whatis
D all of these
MCQ 133 Starting up the Terminal

Which command is used in the matter of single line help about any command ?

A help
B man
C whatis
D all of these
MCQ 134 Starting up the Terminal

By implementing which command, the word written in description of that command is shown ?

A whatis
B apropos
C help
D man
MCQ 135 Starting up the Terminal

Give the full form of man.

A Manage
B Manhelp
C Manual
D Manapropos
MCQ 136 Starting up the Terminal

What command is man cp ?

A man
B cp
C space
D man cp
MCQ 137 Starting up the Terminal

What is the argument in man cp ?

A man
B cp
C space
D man cp
MCQ 138 Starting up the Terminal

What command is given to come out of information pages shown on giving man command ?

A quit
B Exit
C Ctrl + D
D Ctrl + q
MCQ 139 Starting up the Terminal

Whose synonym is slash in the whole path of Linux ?

A index
B root
C start
D rtdir
MCQ 140 Starting up the Terminal

Which of the following is variable in system ?

A SHELL
B HOME
C man
D HELP
MCQ 141 Starting up the Terminal

Which directory by default Linux places you in when you logon on your computer ?

A Main
B Home
C Secondary
D User
MCQ 142 Starting up the Terminal

What automatically opens a directory by default when a new user?s account is opened ?

A System file
B File method
C Driving method
D All of these
MCQ 143 Starting up the Terminal

In what system variable is name Kumar of default directory preserved ?

A Shell
B home
C SHELL
D HOME
MCQ 144 Starting up the Terminal

In which directory is home directory located ?

A admin
B user
C / root
D #
MCQ 145 Starting up the Terminal

Which sign is used to separate file and directory in path ?

A \
B /
C ? ?
D $
MCQ 146 Starting up the Terminal

Which of the following command is used to know home directory in Linux ?

A echo $Home
B Echo $home
C What is home
D dir $HOME
MCQ 147 Starting up the Terminal

How is the directory you are presently working in is known as ?

A sub
B current
C root
D main
MCQ 148 Starting up the Terminal

How many directories can you be in at a given time ?

A 1
B 2
C 3
D 4
MCQ 149 Starting up the Terminal

What will be the output of command pwd if your current directory is named Trishla ?

A home / Trishla
B / home / administrator / Trishla
C \ home \ Trishla
D Trishla
MCQ 150 Starting up the Terminal

Which command is used to make directory ?

A md
B mdir
C mikdir
D make directory
MCQ 151 Starting up the Terminal

Which command is used to know the directory current in Linux you are in at present ?

A pdw
B dpw
C prwd
D pwd
MCQ 152 Starting up the Terminal

How many directories can one make at a time by making use of Linux mkdir command ?

A 1
B 2
C 3
D Many
MCQ 153 Starting up the Terminal

Which command is used in Linux for going from one directory to the other ?

A cd?
B cd
C chcd
D chd
MCQ 154 Starting up the Terminal

Which command is used to exit from current work directory ?

A cd?
B cd
C cd\
D cd
MCQ 155 Starting up the Terminal

In command cd? what does ? indicate ?

A root directory
B parent directory
C child directory
D current directory
MCQ 156 Starting up the Terminal

Which command would you give to come to home directory from home / Dhaval / Mansi / Trishla ?

A cd.. /../..
B cd? should be given thrice
C cd? /
D or B
MCQ 157 Starting up the Terminal

Which command is to remove any empty directory ?

A deldir
B remove
C rmdir
D delete
MCQ 158 Starting up the Terminal

How many empty directories can be removed at a time ?

A 1
B 2
C 3
D Many
MCQ 159 Starting up the Terminal

Which command is used to removed a non-empty directory with its total data ?

A rmdir
B rm ? d
C rmdir ? r
D rm ? r
MCQ 160 Starting up the Terminal

In Linux operative system how many maximum number of letters can be there of a file name ?

A 256
B 255
C 265
D 65
MCQ 161 Starting up the Terminal

In Linux as name which letter other than any ASCII letter can be kept ?

A /
B Null
C \ and null
D Both A and B
MCQ 162 Starting up the Terminal

Which letter are approved in file name as letters ?

A Any control letter
B Non-printable letters
C / and Null
D Both A and B
MCQ 163 Starting up the Terminal

Which of the following is approved file name ?

A ac ? cd ? d?
B -{ }
C test $ #
D All of these
MCQ 164 Starting up the Terminal

Which signs are recommended for Linux inclusion in Linux file name ?

A English alphabets and numbers
B Full point ? and hyphen ?
C Underscore ?
D All of these
MCQ 165 Starting up the Terminal

test 1, Test 1, TEST 1- How are these three file named in Linux ?

A Similiar
B Different
C Depends on kernel
D Depends on shell
MCQ 166 Starting up the Terminal

Give the full form of pwd.

A Preset Working Directory
B Permanent Working Directory
C Present Working Directory
D Perfect Working Directory
MCQ 167 Starting up the Terminal

Which of the following shows unit of information which can be used for different purposes ?

A Shell
B Directory
C Command
D File
MCQ 168 Starting up the Terminal

Which of the following is a special kind of file that makes which itself other files and directories ?

A File
B Root File
C Directory
D System File
MCQ 169 Starting up the Terminal

Which of the following statement is carect in the context of Linux operative system ?

A It is not compulsory to give file extension in Linux
B Linux is completely case negative
C In Linux file name sign / and letter null cannot be used in file name
D All of these
MCQ 170 Starting up the Terminal

Which command is used to show information of small files or to make new files ?

A cd
B cal
C cat
D cp
MCQ 171 Starting up the Terminal

State function of cat command.

A To view information in file
B To join two files
C Making files and adding new writing at their end
D All of these
MCQ 172 Starting up the Terminal

Which key in Linux shows the end of file ?

A Alt + q
B Ctrl + E
C Ctrl + d
D quit
MCQ 173 Starting up the Terminal

Which command is used to add information at the end of a file ?

A cat>>filename
B cat filename
C cat<filename
D cat<<filename
MCQ 174 Starting up the Terminal

Which command is used to view the writing of file made ?

A cat>>filename
B cat filename
C cat<filename
D cat<<filename
MCQ 175 Starting up the Terminal

In Linux ?cat>test? command if ?test? file is present then what happens after writing information and giving Ctrl + d ?

A New information will not be added to the old one
B New information will be added to the old one
C File will become empty
D Old information will be deleted, new information will be saved
MCQ 176 Starting up the Terminal

Which command is given to assemble writing of Temp 1 and Temp 2 in file named permanent ?

A cat Temp1 + Temp2 >> permenent
B cat Temp1 Temp2 > permenent
C cat Temp1 & Temp2 permenent
D cat permenent > Temp1 Temp2
MCQ 177 Starting up the Terminal

State the use of rm command.

A To change file name
B To remove file name
C To move file
D To make file disappear
MCQ 178 Starting up the Terminal

How many files at a time can be removed by rm command ?

A 1
B Only one
C More than one
D Both A and C
MCQ 179 Starting up the Terminal

Which command will be given to remove file named Ram ?

A rmdir Ram
B del Ram
C rm Ram
D mv Ram
MCQ 180 Starting up the Terminal

Which command is used to remove all the present files at a time ?

A rm all
B rm ???
C rm*
D remove all
MCQ 181 Starting up the Terminal

Which command is used before Alert message to remove any file ?

A rm -i filename
B rm -r filename
C rm -a filename
D rm -m filename
MCQ 182 Starting up the Terminal

Which command is used to remove all the details with information contained in it ?

A rm -i directory name
B rm -r directory name
C rm -rf directory name
D rm -r* directory name
MCQ 183 Starting up the Terminal

Which command is used to see in Linux respective directories and file and directory list contained in them ?

A cat
B list
C ls
D li
MCQ 184 Starting up the Terminal

In Linux which file is called hidden beginning with which sign ?

A h
B .
C d
D *
MCQ 185 Starting up the Terminal

Which command will you give to view file and directory list hidden in Linux ?

A ls -a
B ls ? l
C ls -h
D ls -R
MCQ 186 Starting up the Terminal

In which order is list of files and directories seen in present directory by giving Is command ?

A by date
B by name
C by size
D by wildcard
MCQ 187 Starting up the Terminal

Which two directories are automatically made on making new directory in Linux ?

A file 1 file 2
B .. and?
C . and..
D *and /
MCQ 188 Starting up the Terminal

Which of the following sign is used for current directory ?

A .
B ..
C $
D *
MCQ 189 Starting up the Terminal

How is sign., known in Linux ?

A Current directory
B Child directory
C Present directory
D Parent directory
MCQ 190 Starting up the Terminal

Which command is given to view output of Is command according column ?

A 1s ? fx
B 1s -x
C 1s ? R
D 1s ? F
MCQ 191 Starting up the Terminal

Which command will you give in Linux to view directory and executable command ?

A 1s -fx
B 1s -x
C 1s -R
D 1s -F
MCQ 192 Starting up the Terminal

In 1s-F command output which sign is seen after output directory ?

A \
B /
C *
D #
MCQ 193 Starting up the Terminal

What is indicated by *sign in 1s-F command output ?

A Directory
B File
C Executable Time Table
D Hidden File
MCQ 194 Starting up the Terminal

Which command is used to view only one file on one line ?

A ls -1
B ls ~
C ls-I
D ls ?
MCQ 195 Starting up the Terminal

Which command will you give to view all executable files and directories marked by signs * and / ?

A ls -r
B ls -t
C ls -I
D ls -F
MCQ 196 Starting up the Terminal

Which of the following does ?*? wildcard indicate ?

A One letter
B Cluster of letters
C One number
D None of these
MCQ 197 Starting up the Terminal

How many letters does ??? wildcard compare ?

A One letter
B Cluster of letters
C Cluster of numbers
D None of these
MCQ 198 Starting up the Terminal

Which of the following wild card is included , in Linux ?

A ?
B *
C [ ]
D All of these
MCQ 199 Starting up the Terminal

Which of the following will present all the files with four letter ?

A 1s [abed]*
B 1s[ab] ?
C 1s ?[abc] [xyz] ?
D Both B and C
MCQ 200 Starting up the Terminal

Which name will not be included in file list shown by giving Is ? at ?

A Hat
B Cat
C Map
D Both A and B
MCQ 201 Starting up the Terminal

Which command is used to view files other than those not beginning with vowels ?

A ls![aeiou]*
B 1s [!aeiou]*
C ls [aeiou]*
D ls?[aeiou]?
MCQ 202 Starting up the Terminal

Which wildcard is used to show only one letter between P to S according to ASCII ?

A [PQRS]
B [P] and [S]
C [P-S]
D Both A and C
MCQ 203 Starting up the Terminal

Which of the following file name will not be seen on giving command 1s tempt [1-5] ?

A temp2
B temp3
C temp 15
D temp4
MCQ 204 Starting up the Terminal

Which is the command for copying file in Linux ?

A copy
B cp
C cc
D bcc
MCQ 205 Starting up the Terminal

How many minimum number of arguments are needed in cp command ?

A 1
B 2
C 3
D 4
MCQ 206 Starting up the Terminal

What is given as first argument in cp command ?

A Source file
B Destination file
C Name of directory
D Executable file
MCQ 207 Starting up the Terminal

What is given as second argument in second cp command ?

A Source file
B Destination file
C Name of directory
D Executable file
MCQ 208 Starting up the Terminal

By cp command how many files can be simultaneously copied in directory ?

A One
B More than one
C Both A and B
D None of these
MCQ 209 Starting up the Terminal

In cp command if the name of an existing file is given what will be its result ?

A Information will be added at the end of file
B Information will not be copied
C New information will over-written on information in file
D will show error
MCQ 210 Starting up the Terminal

Which directory will be there in test 2 test 3 test 4 ?

A test1
B test2
C test3
D test4
MCQ 211 Starting up the Terminal

For what is Linux command mv used ?

A For changing file name
B For changing directory name
C To move one or more file in directory
D All of these
MCQ 212 Starting up the Terminal

Which command does not use any additional space in disc ?

A cp
B mv
C cat > filename
D Both A and C
MCQ 213 Starting up the Terminal

Which command is used to change the name of file or directory ?

A cp
B mv
C cmp
D diff
MCQ 214 Starting up the Terminal

What will happen on giving mv abc pqr ? In this directory named pqr is made

A Name of abc file will change to pqr
B abc file will go into pqr
C pqr directory will go into abc
D will show error
MCQ 215 Starting up the Terminal

Which command in Linux shows only one page on screen at a time ?

A page
B more
C /p
D 1s page
MCQ 216 Starting up the Terminal

Which key used to view information on next page by more command ?

A n
B b
C f
D p
MCQ 217 Starting up the Terminal

Which key used to view information on previous page by more command ?

A n
B b
C f
D p
MCQ 218 Starting up the Terminal

Which command will you give to view page-wise output of file Aarti ?

A more Aarti
B cat Aarti|more
C or B
D cat aarti
MCQ 219 Starting up the Terminal

Which command is used to compare two files ?

A cp
B comp
C cmp
D compile
MCQ 220 Starting up the Terminal

On which output tool does cmp command show its result ?

A root
B redirection
C standard
D administrator
MCQ 221 Starting up the Terminal

Which command undertakes extension of cmp command?

A compare
B different
C comp
D cliff
MCQ 222 Starting up the Terminal

Which command compares the writing of two files received by it as arguments to show the difference ?

A compare
B different
C comp
D diff
MCQ 223 Starting up the Terminal

If the writing given in first file as argument by diff command is not there in the second file, which sign shows it ?

A <
B >
C _ _ _
D file 2
MCQ 224 Starting up the Terminal

Which sign shows the difference in second file given as argument by diff command ?

A <
B >
C _ _ _
D @
MCQ 225 Starting up the Terminal

diff command shows difference between two files. Which sign is seen between those two files ?

A _ _ _
B _ _
C ____
D _ _ _ _
MCQ 226 Starting up the Terminal

Give the full form of wc command.

A word count
B word calculation
C write calculator
D word command
MCQ 227 Starting up the Terminal

Which command is there in Linux to know the number of letters, words and lines in Linux file ?

A wc
B wc
C wcount
D wordcount
MCQ 228 Starting up the Terminal

How many options are there in Linux wc command ?

A 1
B 2
C 3
D 4
MCQ 229 Starting up the Terminal

Which of the following is wc command ?

A -1
B -c
C -w
D All of these
MCQ 230 Starting up the Terminal

Which command will you give to calculate number of total lines, words and letters in file named Aarti ?

A wc -l -w -c Aarti
B wc -lwc Aarti
C or B
D wc lwc Aarti
MCQ 231 Starting up the Terminal

In a file named Krupa there are 20 lines, 60 words and 150 letters. On giving command wc-clw Krupa what output will be seen ?

A 150 60 20
B 20 150 60
C 150 20 60
D 20 60 150
MCQ 232 Starting up the Terminal

In 1s-1 command what does 1 mean ?

A list
B long list
C local list
D large list
MCQ 233 Starting up the Terminal

In output of command ls-1 what does the first letter seen indicate ?

A Information Right
B Object
C Group
D File or Directory
MCQ 234 Starting up the Terminal

Which letter indicates file in the output of ls-1 command ?

A d
B x
C ?
D r
MCQ 235 Starting up the Terminal

Which letter seen in 1s-1 output indicates directory ?

A d
B x
C ?
D w
MCQ 236 Starting up the Terminal

How many types of permissions can be granted to Linux file or directory ?

A 1
B 2
C 3
D 4
MCQ 237 Starting up the Terminal

Which sign is seen when no permission is granted in Linux file or directory ?

A #
B $
C ?
D *
MCQ 238 Starting up the Terminal

Who is file owner in Linux file ?

A Linus Torwaldz
B Maker of File
C Kernel
D Administrator
MCQ 239 Starting up the Terminal

What does letter ?w? for giving permission to file indicate ?

A Permission to write file
B Permission to delete file
C or C
D Permission to over-write
MCQ 240 Starting up the Terminal

Which place number indicates permission granted to group ?

A 456
B 567
C 789
D 123
MCQ 241 Starting up the Terminal

Which number system do we use to indicate permission through form of numbers ?

A Hexa
B Binary
C Decimal
D Octel
MCQ 242 Starting up the Terminal

In eight digit system what permission does 3 give ?

A Reading only
B Reading and Executing
C Writing and Executing
D Reading and Writing
MCQ 243 Starting up the Terminal

Which number will be used in eight-digit system to grant write only permission ?

A 4
B 2
C 1
D 7
MCQ 244 Starting up the Terminal

Which command is used to change permission about use of any file ?

A chgmode
B change
C chmode
D chmod
MCQ 245 Starting up the Terminal

How is the task of changing permission is ? known ?

A Cursor mode operation
B Change mode operation
C Character mode operation
D None of these
MCQ 246 Starting up the Terminal

What does u mean in ugo ?

A ubuntu
B use
C user
D unique
MCQ 247 Starting up the Terminal

What does g mean in ugo ?

A grater then
B group
C ground
D good
MCQ 248 Starting up the Terminal

What does o mean in ugo ?

A open
B owner
C other
D optional
MCQ 249 Starting up the Terminal

Kumar.txt file is not given a single permission. If the owner and user are given permission to read and write in it what is seen ?

A -rw ? rw ? ? ? ?
B ? ? wr ? ? rw ? ?
C ? -r-w-rw- ?
D -rw- ? ? ? rw-
MCQ 250 Starting up the Terminal

Which command will give file user, permission to write and execute ?

A chmode ug+wx
B chande ug+rx
C chmod u+wx
D chmod o+wx
MCQ 251 Starting up the Terminal

On giving chmod 157 filename which type of output will be there ? At present there is no permission.

A ? -x-rx-rwx
B -r- -rw-rw-
C ? ? -xr-xrwx
D -r- -r-xr-x
MCQ 252 Starting up the Terminal

What is used in Linux as standard input device ?

A Mouse
B Keyboard
C Joysick
D Pencil
MCQ 253 Starting up the Terminal

What is used in Linux as standard output device ?

A Monitor
B Plotter
C Router
D Mouse
MCQ 254 Starting up the Terminal

Which of two following commands have identical meanings ?

A wc -1 Kumar.txt and wc-1 > Kumar.txt
B wc -1 Kumar.txt and wc-1 < Kumar.txt
C wc -1 Kumar.txt and wc-1 >> Kumar.txt
D wc -1 Kumar.txt and wc-1 << Kumar.txt
MCQ 255 Starting up the Terminal

From where is input taken in wc-w marisha.txt command ?

A marisha.txt
B keyboard
C wc-w
D wc
MCQ 256 Starting up the Terminal

Which command will be written to store files list book into present directory ?

A book >ls
B ls > book
C wc > book
D book >> 1s
MCQ 257 Starting up the Terminal

What will happen on giving cal>calendar ?

A Output of cal command will be seen on screen
B File output calendar will be seen on cal command
C Both A and B
D None of these
MCQ 258 Starting up the Terminal

Which facility is there in Linux to join one command with another ?

A Joint
B Marge
C Connect
D Piping
MCQ 259 Starting up the Terminal

Which of the following is called pipe symbol ?

A |
B ||
C &&
D &
MCQ 260 Starting up the Terminal

Which of the following command is used to know number of files in present directory ?

A wc -1| ls
B ls wc -l
C ls | wc -1
D None of these
MCQ 261 Starting up the Terminal

Which of the following is not a redirection sign ?

A >
B <
C *
D >>
MCQ 262 Starting up the Terminal

In 1s | wc-1 the output of which command becomes input of which command ?

A ls, wc
B wc, -l
C wc, ls
D wc -l, ls
MCQ 263 Starting up the Terminal

Which of the following two commands have identical meanings ?

A cp Krupa Chintan
B cat Krupa > Chintan
C cat Krupa | Chintan
D Both A and B
MCQ 264 Starting up the Terminal

Which of the following facility is helpful in joining command with file ?

A Redirection
B Piping
C Filter
D Mount
MCQ 265 Starting up the Terminal

Which filters are available in Linux ?

A head and tail
B cut and paste
C sort and tr
D All of these
MCQ 266 Starting up the Terminal

Which sign is used in upper or opening lines of file ?

A upper
B head
C top
D title
MCQ 267 Starting up the Terminal

How many lines does default command show by head command ? OR If head command is used without option, how many lines will Linux show on its own ?

A Last ten
B First ten
C First five
D All
MCQ 268 Starting up the Terminal

Which command is given to view only first three lines from Kumar.txt file ?

A head3-kumar.txt
B head+3 kumar.txt
C head3kumar.txt
D head-3kumar.txt
MCQ 269 Starting up the Terminal

Which filter us used to show the last lines of file ?

A Last
B Lower
C Bottom
D Tail
MCQ 270 Starting up the Terminal

Which number of last lines does tail command show by default ?

A First ten
B Last ten
C All after ten
D All of these
MCQ 271 Starting up the Terminal

Which command is used to show all the lines till the last one beginning from a specific one ?

A head
B tail
C Both A and B
D paste
MCQ 272 Starting up the Terminal

Which command will be useful in viewing from 8th line to the last one in file Kumar.txt ?

A tail +8 Kumar.txt
B tail 8- Kumar.txt
C tail -8 Kumar.txt
D tail 1-8 Kumar.txt
MCQ 273 Starting up the Terminal

Wflhich option of cut command is used to cut a specific letter from every line ?

A -c
B -d
C -f
D -l
MCQ 274 Starting up the Terminal

Which command will be used to get line 1 to 4 and 10 to 20 from student file ?

A cut ? c 1-4 & 10-20 student
B cut-c-4, 10-20 student
C cut -c, 1-4, 10-20 student
D Both B and C
MCQ 275 Starting up the Terminal

What output will be obtained from cut -c 1-5 ?

A First Five Words
B First Five Letters
C Last Five Letters
D Last Five Words
MCQ 276 Starting up the Terminal

Which option of cut command is useful for ? lines of specific length ?

A -af
B -l
C -d
D -c
MCQ 277 Starting up the Terminal

Which sign does treat cut command as a separate field divided by itself ? OR How is spearing sign of information from a column known ?

A filter
B bullet
C delimiter
D symbol
MCQ 278 Starting up the Terminal

Which option is used with cut command to show column number in file ?

A -c
B -f
C -d
D -r
MCQ 279 Starting up the Terminal

Which command will be used in Student file with ?,? sign as delimiter to view second, fifth and all subsequent fields ?

A cut -d ? ? 2, 5- student
B cut -f 2, -5 student
C cut -d ?,? -f 2, -5 student
D cut -d ?,? -f 2, 5- student
MCQ 280 Starting up the Terminal

What will be the result of cut -d ?:? -f -2 kumar.txt ?

A Monitor will show first 2 fields
B First 2 field kumar.txt> file will be given
C Will go into first 2 field book.txt file
D None of these
MCQ 281 Starting up the Terminal

What is the first details of 1s-1 output ?

A Permission
B Size bytes
C Date
D Time
MCQ 282 Starting up the Terminal

Which command will be used to view list only with field permission of output 1s-1. Space is given as delimiter

A ls -l | cut -d ? ? -f -1
B ls -l | cut -d ?:? -f -1
C cut -d ? ? -f l | ls -l
D cut -d ? ? -f 1 ls ? l
MCQ 283 Starting up the Terminal

Which command is used to combine specific information of two files ?

A cut
B cat
C paste
D merge
MCQ 284 Starting up the Terminal

What is to be ascertained before giving paste command ?

A Both files should be in current directory
B Both files should have equal number of lines
C Both should have the same name
D Both A and B
MCQ 285 Starting up the Terminal

What will be result of command paste file 1 file 2 ?

A file 1 will be copied in file 2
B file 2 will copied in file 1
C file 2 will be copied under file 1
D writing of file 2 will be copied on right side of file 1
MCQ 286 Starting up the Terminal

Which command is used to organize details in ascending or descending order ?

A Decending
B Sort
C Ascending
D Grep
MCQ 287 Starting up the Terminal

Like which command does sort command identifies filed and arranges on the basis of shown field ?

A 1s
B paste
C cut
D head and tail
MCQ 288 Starting up the Terminal

Which order does sort command line letters by default ?

A Blanks,numbers, small letters,capital letters
B Capital letters, small letters, numbers, blanks
C Blanks, numbers, capital letters, small letters
D Small letters, capital letters, numbers, blanks
MCQ 289 Starting up the Terminal

Which option is used with sort command to arrange data in descending order ?

A -d
B -r
C -a
D -v
MCQ 290 Starting up the Terminal

In file named student there is sign. Which command will you give seventh field hobby in ascending order ?

A cut -d ?,? -f -7 Student | Sort
B cut -d ?,? -f 7 Student | Sort
C cut -d ?,? -f 7 Student | Sort
D Both B and C
MCQ 291 Starting up the Terminal

Which of the following is not filter ?

A Grep
B Uniq
C Both A and B
D Move
MCQ 292 Starting up the Terminal

Which of the following command is used in Linux to show Temp 1 Temp 2 file data simultaneously ?

A paste Temp1, Temp2
B paste Tmep1-Temp2
C paste Temp1+ Temp2
D paste Temp1 & Temp2
MCQ 293 Starting up the Terminal

How are commands to obtain data from file ? made in Linux known ?

A Filter
B Search
C File
D Fill
MCQ 294 Starting up the Terminal

How many filters of Linux are discussed in the book ?

A 4
B 6
C 8
D 10
MCQ 295 Starting up the Terminal

Which of the following command makes efficient use of different letters in a line ?

A grep
B paste
C tr
D cut
MCQ 296 Starting up the Terminal

State the full form of tr.

A translate
B trim
C transfer
D or B
MCQ 297 Starting up the Terminal

Which of the following command translates a sentence or pattern from one type to another ?

A uniq
B tr
C sort
D grep
MCQ 298 Starting up the Terminal

In file named Kumar ?,?is used as delimiter. Which command will you use to replace it with # ?

A cut Kumar | tr -s ?:? ?#?
B cut Kumar | tr -s [?#?] [?:?]
C cut Kumar | tr -s [?:?] [?#?]
D cut Kumar | tr-s ?[:]?'[#]?
MCQ 299 Starting up the Terminal

Which option is used with tr command ?

A -d
B -s
C -f
D -v
MCQ 300 Starting up the Terminal

Which is command for changing into space, more than one gaps in file lines ?

A tr -r
B tr ? s
C tr ? c
D tr -f
MCQ 301 Starting up the Terminal

Which command will you give to change from lowercase to uppercase file named Chintan ?

A cat Chintan | tr ?a-z? ?A-Z?
B cat Chintan | tr ?[a-z]? ?[A-Z]?
C cat Chintan | tr ?[A-Z]? ?[a-z]?
D cat Chintan | tr ?[a-z]? ?[A-Z]?
MCQ 302 Starting up the Terminal

Which is Linux command for showing from file the line with some specific word ?

A search
B seek
C find
D grep
MCQ 303 Starting up the Terminal

Give full form of grep.

A search globally for a reserved experience
B globally search for a regular export
C search globally for a regular expression
D search globally for a research expression
MCQ 304 Starting up the Terminal

State the meaning of g/re/p.

A Local search of a specific equation
B Universal search of a specific equation
C Non-variable search of a specific equation
D Efficient search of a specific equation
MCQ 305 Starting up the Terminal

How can grep be used ?

A Regular data cluster
B As filter
C To look into file
D All of these
MCQ 306 Starting up the Terminal

Which option is used to ignore upper case or lower case while using grep command ?

A -v
B -i
C -o
D -vc
MCQ 307 Starting up the Terminal

Which option is used to view lines other than those with a specific pattern ?

A -l
B -n
C -w
D -v
MCQ 308 Starting up the Terminal

What does searched number without showing writing indicate ?

A -i
B -cn
C -c
D -o
MCQ 309 Starting up the Terminal

State function of -o option of grep command.

A States only file name
B Shows only searched words
C Shows lines in which the searched word is not located
D none of these
MCQ 310 Starting up the Terminal

In which coloured output are the words searched through grep command shown ?

A Violet
B Yellow
C Green
D Red
MCQ 311 Starting up the Terminal

Which command is used to know path of file or directory ?

A Find
B Search
C Run
D Properties
MCQ 312 Starting up the Terminal

What does command grep-icv labh vidya show?

A 1
B labh
C 3
D 102 : labh : BCA : Paldi
MCQ 313 Starting up the Terminal

What does command grep -I MCA Vidya show ?

A MCA
B 2
C Vidya
D Error message
MCQ 314 Starting up the Terminal

In above file number 255 what command will you give for arrangement in descending order ?

A cut -d sort | Vidya
B cat -d -f 4 Vidya | sort -r
C cut -d -f 4 Vidya | sort -r
D cut -d -f -4 Vidya | sort
MCQ 315 Starting up the Terminal

Which command is used to locate the place of ? file or directory made ?

A Search
B Find
C Diff
D Show
MCQ 316 Starting up the Terminal

Which is parameter for searching path of file or directory ?

A Name, group, type
B Permission and time
C Date and size
D All of these
MCQ 317 Starting up the Terminal

Who/Which is only other entity having the same rights as those of administrator ?

A super admin
B skype
C sudo
D super user
MCQ 318 Starting up the Terminal

What should be written before any command to use account of super user in using terminal ?

A SUDO
B duso
C sudo
D sudo User
MCQ 319 Starting up the Terminal

Which command is used to make a new user on system ?

A admin
B adduser
C addgroup
D adduname
MCQ 320 Starting up the Terminal

Which command is used to see the list of users logged in system ?

A who
B whoami
C wholist
D whom
MCQ 321 Starting up the Terminal

Which command adds a new group to divide users in a group ?

A addpart
B deluser
C adduser
D addgroup
MCQ 322 Starting up the Terminal

Which command is used to delete any user from system ?

A delgroup
B delpart
C deluser
D delteam
MCQ 323 Starting up the Terminal

Which command is used remove entire group from system ?

A delgroup
B delpart
C deluser
D delteam