Chapter: Basic Ubuntu Linux Commands • Total: 323 MCQs
MCQ 1Counting 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?
Acountw
Bweount
Cwc
Dwordcount
Correct Answer: Option C
Note: Textbook Exercise
MCQ 2Deleting a File (rm)
Which of the following command is used to remove files?
Adm
Brm
Cdelete
Derase
Correct Answer: Option B
Note: Textbook Exercise
MCQ 3Remove Directory (rmdir)
Which of the following command is used to remove the directory?
Ardir
Bremove
Crd
Drmdir
Correct Answer: Option D
Note: Textbook Exercise
MCQ 4Counting 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?
Awc - r
Bwc - w
Cwc - c
Dwc - l
Correct Answer: Option D
Note: Textbook Exercise
MCQ 5Changing Permissions (chmod)
The command chmod 761 letter is equivalent to which of the following access rights?
Achmod u=7, g = 6, o = 1
Bchmod a = 761
Cchmod u = rws, g = rw, o = x
Dchmod 167
Correct Answer: Option C
Note: Textbook Exercise
MCQ 6Naming Conventions in Liunx
Which of the following refers to the maximum length of a filename in Linux?
A8
B10
C200
D255
Correct Answer: Option D
Note: Textbook Exercise
MCQ 7 Working with Directories
The hierarchy of a series of directories branching in a user system starts from which of the following directories?
Ahome
B
oot
C/home
D/root
Correct Answer: Option D
Note: Textbook Exercise
MCQ 8Copying a File (cp)
Which of the following command is used to copy a file?
Atar
Bcpio
Ccp
Dcopy
Correct Answer: Option C
Note: Textbook Exercise
MCQ 9Present Working Directory (pwd)
Which of the following command is used to display your current working directory?
Apath
Bpwd
Cprompt $p$g
Ddir
Correct Answer: Option B
Note: Textbook Exercise
MCQ 10Pattern Matching (grep)
Which of the following command is used for searching a pattern in a file?
Agrep
Bfind
Clookup
DAll of the above
Correct Answer: Option A
Note: Textbook Exercise
MCQ 11I/O Redirection
Which of the following is not a redirection symbol?
A>
B<
C*
D>>
Correct Answer: Option C
Note: Textbook Exercise
MCQ 12Changing Permissions (chmod)
Which of the following syntax is correct to assign a read permission on a user file?
Achmod r filename
Bchmod u+r filename
Cchmod filename r
Dchmod filename u+r
Correct Answer: Option B
Note: Textbook Exercise
MCQ 13Copying a File (cp)
Which of the following refers to the minimum arguments of cp command?
AOne
BTwo
CThree
DNone
Correct Answer: Option B
Note: Textbook Exercise
MCQ 14Moving Around the File System
The mv command in Linux is used for which of the following purpose?
ATo rename a directory
BTo move a file
CTo copy a file
DAll of the above
Correct Answer: Option D
Note: Textbook Exercise
MCQ 15Piping Output (more)
Which of the following command is used to view one page content on the screen at a time?
AMore
Bmore
CPAGE
Dpage
Correct Answer: Option B
Note: Textbook Exercise
MCQ 16Starting up the Terminal
Shortcut key for open terminal
A Ctrl + Alt + t
BCtrl + Alt + p
CCtrl + Alt + e
DCtrl + Alt + k
Correct Answer: Option A
MCQ 17Starting up the Terminal
What is the full form of CLI?
ACommand line interline
Bcommand line interface
CCommand line interaction
Dcommand line interchange
Correct Answer: Option B
MCQ 18Starting up the Terminal
What is the full form of GUI?
AGraphical used interface
BGraphical user interchange
CGraphical user interface
DGraphical user interface
Correct Answer: Option D
MCQ 19Issuing General Purpose Commands
in Linux, date command display only the current date in _______ format
A dd/mm/yy
Bmm/dd/yyyy
C dd/mm/yyyy
D mm/dd/yy
Correct Answer: Option D
MCQ 20Clearing the Screen (clear)
Which command used to remove data on the screen?
Aclear
Bdelete
Cremove
Dclear screen
Correct Answer: Option A
MCQ 21Present Working Directory (pwd)
Which command used to display the current working directory ?
Apswd
Bpword
Ccp
Dpwd
Correct Answer: Option D
MCQ 22 Working with Directories
Directories in Linux can be created using _______ command.
Amake
Bcat
Cmkdir
Dmk dir
Correct Answer: Option C
MCQ 23Changing Directory (cd)
which command used to change directory ?
Acd
Bcd ....
C.. cd
DAll of the above
Correct Answer: Option A
MCQ 24Changing Directory (cd)
which command used to comeback to previous(Parent) directory ?
Achange
Bpwd
Ccd ..
Dcd
Correct Answer: Option C
MCQ 25Command Syntax
Linux command as _______ or ________.
AInternal
Bexternal
C(a) and (b)
Dbinary
Correct Answer: Option C
MCQ 26Command Syntax
Linux command can be classified into _________ categories.
A1
B2
C3
D4
Correct Answer: Option B
MCQ 27Pattern Matching the Wildcards
-t option sorts the files according to ____
Alast modification time
Blast access time
CASCII collating sequence
Dfile size
Correct Answer: Option A
MCQ 28Starting up the Terminal
which symbol refer to home directory of the user ?
A*
B/
C~
D&
Correct Answer: Option C
MCQ 29Starting up the Terminal
Press ______ key to scroll down the content
Af
Bshift
Center
Dq
Correct Answer: Option C
MCQ 30Starting up the Terminal
Which command used along with other commands to give meaningful output ?
Aecho
Beach
Cprint
Dshell
Correct Answer: Option A
MCQ 31Starting up the Terminal
Which command used to return the command prompt ?
ACtrl + d
BCtrl + e
CCtrl + c
DCtrl + f
Correct Answer: Option A
MCQ 32 The Command Line Calculator (bc)
Which function allows user to set numbering system to use for output ?
Aoutbase
Bobase
Cinbase
Dibase
Correct Answer: Option B
MCQ 33Starting up the Terminal
_________ command is used to assist the user while working on the command line interface.
AHelp
BMan
CBoth A and B
DNone of these
Correct Answer: Option C
MCQ 34Starting up the Terminal
________ command search all directory and sub directory available on root only.
Afind / -type d
Bfind . -mtime -1
Cfind -executable
Dfind . -mtime +1
Correct Answer: Option A
MCQ 35Character Conversion (tr)
_______ command is used to convert strings or patterns from one set of characters to another.
Aconvert
Bconvert
Ctrs
Dtr
Correct Answer: Option D
MCQ 36Ordering Output (sort)
_________ command is used to order the data stored within a file in ascending or descending sequence.
Acut
Bsort
Ctr
DAll of above
Correct Answer: Option B
MCQ 37Slicing 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
Correct Answer: Option B
MCQ 38Starting up the Terminal
_________ command is used to display the required number of lines at the end of the files.
AHead
BTail
CTop
DBottom
Correct Answer: Option B
MCQ 39Starting up the Terminal
_________ command is used to display the required number of lines at the beginning of the files.
AHead
BTail
CTop
DBottom
Correct Answer: Option A
MCQ 40Starting up the Terminal
________ symbol is used to provide output of one command as an input to another command.
A~
B|
C>
D>>
Correct Answer: Option B
MCQ 41Running Commands as a Superuser
Which command is used to deletes a group from the system ?
Aadduser
Bpasswd
Cwho
Ddelgroup
Correct Answer: Option D
MCQ 42Running Commands as a Superuser
Which command is used to delete a user from the system ?
Aadduser
Bdeluser
Cwho
Daddgroup
Correct Answer: Option B
MCQ 43Starting up the Terminal
Which command accept data from standard inputs, manipulate it and write the results to standard output ?
AFilters
BUsers
Cwriters
DBeginners
Correct Answer: Option A
MCQ 44Starting up the Terminal
In ASCII, sorting first applies on ________.
Awhitespace, numerals, uppercase, lowercase
Bwhitespace, uppercase, lowercase , numerals
Cnumerals , uppercase, lowercase , whitespace
Dwhitespace, numerals, lowercase , uppercase
Correct Answer: Option A
MCQ 45Starting up the Terminal
Which repetition operator is used if the preceding item will be matched one or more times ?
A*
B+
C?
Dall of the mentioned
Correct Answer: Option B
MCQ 46Starting 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}
Correct Answer: Option B
MCQ 47Starting up the Terminal
To use superuser account when using the terminal, we need to add ________ as a prefix to the command.
Akhado
Bsado
Csudo
Dludo
Correct Answer: Option C
MCQ 48Starting up the Terminal
Which command is used to change the password of any valid user of the system ?
Aadduser
Bpasswd
Cwho
Daddgroup
Correct Answer: Option B
MCQ 49Starting up the Terminal
which command is used for comparing two files?
Acmp
Bdiff
Ccompair
Dcomp
Correct Answer: Option A
MCQ 50Starting up the Terminal
Which of the following command is used to count the total number of lines, words, and characters contained in a file?
Acountw
Bweount
Cwc
Dwordcount
Correct Answer: Option C
Note: Exercise
MCQ 51Starting up the Terminal
Which of the following command is used to remove files?
Adm
Brm
Cdelete
Derase
Correct Answer: Option B
Note: Exercise
MCQ 52Starting up the Terminal
Which of the following command is used to remove the directory?
Ardir
Bremove
Crd
Drmdir
Correct Answer: Option D
Note: Exercise
MCQ 53Starting up the Terminal
Which of the following command is used to count just the number of lines contained in a file?
Awc - r
Bwc - w
Cwc - c
Dwc - l
Correct Answer: Option D
Note: Exercise
MCQ 54Starting up the Terminal
The command chmod 761 letter is equivalent to which of the following access rights?
Achmod u=7, g = 6, o = 1
Bchmod a = 761
Cchmod u = rws, g = rw, o = x
Dchmod 167
Correct Answer: Option D
Note: Exercise
MCQ 55Starting up the Terminal
Which of the following refers to the maximum length of a filename in Linux?
A8
B10
C200
D255
Correct Answer: Option D
Note: Exercise
MCQ 56Starting 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
Correct Answer: Option D
Note: Exercise
MCQ 57Starting up the Terminal
Which of the following command is used to copy a file?
Atar
Bcpio
Ccp
Dcopy
Correct Answer: Option C
Note: Exercise
MCQ 58Starting up the Terminal
Which of the following command is used to display your current working directory?
Apath
Bpwd
Cprompt $p$g
Ddir
Correct Answer: Option B
Note: Exercise
MCQ 59Starting up the Terminal
Which of the following command is used for searching a pattern in a file?
Agrep
Bfind
Clookup
DAll of the above
Correct Answer: Option A
Note: Exercise
MCQ 60Starting up the Terminal
Which of the following is not a redirection symbol?
A>
B<
C*
D>>
Correct Answer: Option C
Note: Exercise
MCQ 61Starting up the Terminal
Which of the following refers to the minimum arguments of cp command?
AOne
BTwo
CThree
DNone
Correct Answer: Option B
Note: Exercise
MCQ 62Starting up the Terminal
The mv command in Linux is used for which of the following purpose?
ATo rename a directory
BTo move a file
CTo copy a file
DAll of the above
Correct Answer: Option D
Note: Exercise
MCQ 63Starting up the Terminal
Which of the following command is used to view one page content on the screen at a time?
AMore
Bmore
CPAGE
Dpage
Correct Answer: Option B
Note: Exercise
MCQ 64Starting up the Terminal
Once user logins by the use of what operating system does he converse ?
AOpen interface
BCommand line interface
CGraphical interface
DBoth B and C
Correct Answer: Option D
Note: null
MCQ 65Starting up the Terminal
Which interface use approach gives us better understanding, uniformity, effectiveness, high effectiveness for real strength of Linux ?
AGraphical interface
BCommand line interface
CBoth A and B
DOpen interface
Correct Answer: Option B
Note: null
MCQ 66Starting up the Terminal
Which window is there in Linux for opening command line console in Linus graphical interface ?
APrompt window
BTerminal window
CDialogue window
DGraphics window
Correct Answer: Option B
Note: null
MCQ 67Starting up the Terminal
Which command is given in opening terminal window in Linux ?
AApplication/Terminal
BApplication/Action/Terminal
CApplication/Accessories/Terminal
DNone of these
Correct Answer: Option C
Note: null
MCQ 68Starting up the Terminal
Which of the following indicates that interface is ready to dialogue with user in form of command ?
ALogin Prompt
BCommand Prompt
CSystem Prompt
DAdmin Prompt
Correct Answer: Option B
Note: null
MCQ 69Starting up the Terminal
What does command prompt suggest ?
AInterface is ready
BCondition of command
CInterface is not ready
DResult of command
Correct Answer: Option A
Note: null
MCQ 70Starting up the Terminal
In Linux what does programme for proving specific task suggest ?
AMethod
BCharacteristic
COption
DCommand
Correct Answer: Option D
Note: null
MCQ 71Starting up the Terminal
What does command line interface say in Linux ? OR In Linux which is user programme that provides environment for mutual interaction ?
ATask
BPrompt
CShell
DScript
Correct Answer: Option C
Note: null
MCQ 72Starting up the Terminal
What is shell ?
AProgramme for user
BCommand line interface
CIt gives, receives command and converses with kernel for implementation
DAll of these
Correct Answer: Option D
Note: null
MCQ 73Starting up the Terminal
How many shells are available on shell for working on Linux system ?
A10
B100
C50
Dinnumerable
Correct Answer: Option D
Note: null
MCQ 74Starting up the Terminal
Which of the following is a well-known shell ?
Ashell csh and tcsh
BBourne shell bash shell sh
CCorn shell ksh
DAll of these
Correct Answer: Option D
Note: null
MCQ 75Starting up the Terminal
What is the short name for Bourne shell ? OR Which is Unix shell before it ?
Abarn
Bkorn
Ccsh
Dsh
Correct Answer: Option D
Note: null
MCQ 76Starting up the Terminal
What is the name or command of file for implementing corn shell ?
Aksh
Bcsh
Csh
Dbsh
Correct Answer: Option A
Note: null
MCQ 77Starting up the Terminal
How many files or commands are there for implementing C shell ?
A1
B2
C3
D4
Correct Answer: Option B
Note: null
MCQ 78Starting up the Terminal
Which shell contributes basic arrangement for shell script programming ?
ABourne
BCorn
CC
Dbash
Correct Answer: Option A
Note: null
MCQ 79Starting up the Terminal
At present which is authentic shell for all Linux systems ?
Atcsh
Bksh
Cbash
Dsh
Correct Answer: Option C
Note: null
MCQ 80Starting up the Terminal
What can be said about English letters in context of Linux ?
AIt is not case sensitive
BIt is internally case sensitive
CIt is completely case sensitive
DIt does not understand English letters
Correct Answer: Option C
Note: null
MCQ 81Starting up the Terminal
Which command is given to obtain all the shells in your computer ?
Aecho $shell
Becho/etc/shells
Ccat/etc/shells
Dcat/etc/shells
Correct Answer: Option C
Note: null
MCQ 82Starting up the Terminal
Which is the command for showing default or predetermined shell ?
Acat$SHELL
BECHO SHELL
Cecho $shell
Decho SHELL
Correct Answer: Option C
Note: null
MCQ 83Starting up the Terminal
How is the shell, through which we work is known once we login ?
ACommand
BSystem
CDefault
DTemporary
Correct Answer: Option C
Note: null
MCQ 84Starting up the Terminal
If a shell other than predetermined one is to be used, what is done ?
AName of that shell is typed on command line
Becho/etc/bash is given
CTo change shell command is given
DNot possible
Correct Answer: Option A
Note: null
MCQ 85Starting up the Terminal
What is nature of interchange of shell ?
APermanent
BTemporary
CMomentary
D60 Minutes
Correct Answer: Option B
Note: null
MCQ 86Starting up the Terminal
What is given on command prompt to return to previous shell ?
ACtrl+d
Bexit
CBoth A and B
Dquit
Correct Answer: Option C
Note: null
MCQ 87Starting up the Terminal
How many parts is Linux command divided in ?
A2
B3
C4
D5
Correct Answer: Option B
Note: null
MCQ 88Starting up the Terminal
Which of the following is used in Linux command ?
AName
BOption
CArgument
DAll of these
Correct Answer: Option D
Note: null
MCQ 89Starting up the Terminal
How many letters or numbers do generally make command ?
A0
B1
C2
D3
Correct Answer: Option B
Note: null
MCQ 90Starting 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
Correct Answer: Option D
Note: null
MCQ 91Starting up the Terminal
How are information units from zero or more known that enable command to complete its task ?
AAction
BOptions
CArgument
DShell
Correct Answer: Option C
Note: null
MCQ 92Starting up the Terminal
In which environment variable is value of present predetermined shell preserved ?
ASHELL
BShell
CHome
DNone of these
Correct Answer: Option A
Note: null
MCQ 93Starting up the Terminal
Which two features are included in Korn Shell ?
Ash and csh
Bsh and ksh
Cksh and tcsh
Dsh and bsh
Correct Answer: Option A
Note: null
MCQ 94Starting up the Terminal
In how many can Linux command be given ?
A1
B2
C3
D4
Correct Answer: Option B
Note: null
MCQ 95Starting up the Terminal
Which of the following is the method of giving command in Linux ?
AGive Enter after typing the full command
BPress Tab key after typing some letters of command
CBoth A and B
DNone of these
Correct Answer: Option C
Note: null
MCQ 96Starting up the Terminal
Which key is pressed in Linux for implementation of Linux command ?
AEnter
BTab
CBoth A and B
DCtrl + Enter
Correct Answer: Option A
Note: null
MCQ 97Starting up the Terminal
Which command is used in Linux to prepare a calendar of current month of some specific month and the whole year ?
ACAL
Becho cal
Ccal
DCalendar
Correct Answer: Option A
Note: null
MCQ 98Starting up the Terminal
State the output seen on giving cal in , command prompt.
ACalendar of current year
BCalendar of current month
CCalendar of previous year
DCal help
Correct Answer: Option B
Note: null
MCQ 99Starting up the Terminal
Which command is given to see calendar of 2013 ?
Acal 2013 09
Bcal Sep 2013
Ccal 09 2013
Dboth B and C
Correct Answer: Option C
Note: null
MCQ 100Starting up the Terminal
Which command is given to see calendar of year 2013 ?
Acal all 2013
Bcal 2013
Ccal 1-12 2013
Dnot possible
Correct Answer: Option B
Note: null
MCQ 101Starting up the Terminal
Which command is used to see pagewise output of Linux command ?
APage
B| pipe
CPause
Dmore
Correct Answer: Option D
Note: null
MCQ 102Starting up the Terminal
Which command is used to separate two commands located in one command of Linux ?
A@
B|
C&
D#
Correct Answer: Option B
Note: null
MCQ 103Starting up the Terminal
Which command does Cal 2013|more contain ?
Acal
Bmore
C|
DBoth A and B
Correct Answer: Option D
Note: null
MCQ 104Starting up the Terminal
In Cal 2013|more which command gets input from which command ?
Amore, cal
Bcal,more
C2013, more
D| more
Correct Answer: Option A
Note: null
MCQ 105Starting up the Terminal
Which command is used to show system date and time in Linux ?
ADate
Bdate
CSysdate
Dtoday
Correct Answer: Option A
Note: null
MCQ 106Starting up the Terminal
Which sign is placed before indicators identified as argument of date command ?
A?
B|
C+
D$
Correct Answer: Option C
Note: null
MCQ 107Starting up the Terminal
In which format is date seen on giving date+%D ?
Add//mm/yy
Bmm/dd/yy
Cyy/mm/dd
DAccording to system
Correct Answer: Option B
Note: null
MCQ 108Starting up the Terminal
What kind of indictor is used for hh:mm:ss form of time ?
A%t
B%T
C%H
D%hms
Correct Answer: Option A
Note: null
MCQ 109Starting up the Terminal
What information is seen Linux date command output ?
ASystem date
BSystem time
CBoth A and B
DNone of these
Correct Answer: Option C
Note: null
MCQ 110Starting up the Terminal
Which command is there for use of calculator in Linux command line ?
Acb
Bcal
Ccalc
Dbe
Correct Answer: Option D
Note: null
MCQ 111Starting up the Terminal
Which switch is used for be command ?
A-C
B-1
C-L
D-d
Correct Answer: Option B
Note: null
MCQ 112Starting up the Terminal
Which library does be command come into on giving bc-1 ?
AStandard ibase
BStandard obase
CStandard math
DBoth A and B
Correct Answer: Option C
Note: null
MCQ 113Starting up the Terminal
Which mathematical functions can be performed in command line calculator ?
AMultiplication-division
BSubtraction
CAddition
DAll of these
Correct Answer: Option D
Note: null
MCQ 114Starting up the Terminal
Which mathematical functions are available in command line calculator ?
ASine and cosine
BTrigonometry and logarithm
CArctangent and log
DAll of these
Correct Answer: Option D
Note: null
MCQ 115Starting up the Terminal
Which option is used to find out square root of a number in command line calculator ?
Aroot
Bsqrt
Csqr
Dsrt
Correct Answer: Option B
Note: null
MCQ 116Starting up the Terminal
Which command is given in command line calculator to find natural logarithm of 10 ?
Ah10
BI10
Clog10
DL10
Correct Answer: Option B
Note: null
MCQ 117Starting up the Terminal
What is used to set number method input in Linux calculator ?
Aitbase
Binbase
Cinputbase
Dibase
Correct Answer: Option D
Note: null
MCQ 118Starting up the Terminal
What is used in Linux calculator to set number method in output ?
AOutputbase
BOutbase
CObase
DOtbase
Correct Answer: Option C
Note: null
MCQ 119Starting up the Terminal
Which will be the sixteen digit number for decimal number 256 ?
A110
B100
C265
D1100100
Correct Answer: Option B
Note: null
MCQ 120Starting up the Terminal
How is command line be calculator as compared to graphics calculator ?
ASpeedy
BFlexible
CBoth A and B
DNone of these
Correct Answer: Option C
Note: null
MCQ 121Starting up the Terminal
Which key is used to return to command prompt from command line calculator ?
ACtrl + X
BCtrl + d
CCtril + exit
DCtrl + q
Correct Answer: Option B
Note: null
MCQ 122Starting up the Terminal
Which command is used to show any message on Linux terminal ?
AEcho
B$
CMessage
DNone of these
Correct Answer: Option A
Note: null
MCQ 123Starting up the Terminal
State the use of echo command.
ATo display values of variable
BTo display a message
CAlong with other commands to give meaningful output
DAll of these
Correct Answer: Option D
Note: null
MCQ 124Starting up the Terminal
What is seen when $ given before the name of any variable ?
AWill print the name of variable
BWill print the value of variable
CWill print$
DBoth A and B
Correct Answer: Option B
Note: null
MCQ 125Starting up the Terminal
When $ is not given before the name of any variable what is seen ?
AWill print the name of variable
BWill print the value of variable
CWill print$
DBoth A and B
Correct Answer: Option A
Note: null
MCQ 126Starting 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 ?
ADouble quote ? ?
BSingle quote ? ?
CBack quote ? ?
D< >
Correct Answer: Option C
Note: null
MCQ 127Starting up the Terminal
In the command ?Today?s date is ?date + ? | ? D? which command is implemented first ? ?
AEcho
B% D
Cdate
D+
Correct Answer: Option C
Note: null
MCQ 128Starting up the Terminal
Which command is used to change password of login account ?
Apwd
Bpsa
Cpsswd
Dpasswd
Correct Answer: Option D
Note: null
MCQ 129Starting up the Terminal
Which command is used to delete the writing shown on screen ?
Aels
Bclrscr
Cclear
Dall of these
Correct Answer: Option C
Note: null
MCQ 130Starting up the Terminal
Which command is used for the help of any command ?
Ahelp
Bman
Cwhatis
Dall of these
Correct Answer: Option D
Note: null
MCQ 131Starting up the Terminal
Which command is used to offer short description of any command ?
Ahelp
Bman
Cwhatis
Dall of these
Correct Answer: Option A
Note: null
MCQ 132Starting up the Terminal
Which command is used to get total information about any command ?
Ahelp
Bman
Cwhatis
Dall of these
Correct Answer: Option B
Note: null
MCQ 133Starting up the Terminal
Which command is used in the matter of single line help about any command ?
Ahelp
Bman
Cwhatis
Dall of these
Correct Answer: Option C
Note: null
MCQ 134Starting up the Terminal
By implementing which command, the word written in description of that command is shown ?
Awhatis
Bapropos
Chelp
Dman
Correct Answer: Option B
Note: null
MCQ 135Starting up the Terminal
Give the full form of man.
AManage
BManhelp
CManual
DManapropos
Correct Answer: Option C
Note: null
MCQ 136Starting up the Terminal
What command is man cp ?
Aman
Bcp
Cspace
Dman cp
Correct Answer: Option A
Note: null
MCQ 137Starting up the Terminal
What is the argument in man cp ?
Aman
Bcp
Cspace
Dman cp
Correct Answer: Option B
Note: null
MCQ 138Starting up the Terminal
What command is given to come out of information pages shown on giving man command ?
Aquit
BExit
CCtrl + D
DCtrl + q
Correct Answer: Option C
Note: null
MCQ 139Starting up the Terminal
Whose synonym is slash in the whole path of Linux ?
Aindex
Broot
Cstart
Drtdir
Correct Answer: Option B
Note: null
MCQ 140Starting up the Terminal
Which of the following is variable in system ?
ASHELL
BHOME
Cman
DHELP
Correct Answer: Option B
Note: null
MCQ 141Starting up the Terminal
Which directory by default Linux places you in when you logon on your computer ?
AMain
BHome
CSecondary
DUser
Correct Answer: Option B
Note: null
MCQ 142Starting up the Terminal
What automatically opens a directory by default when a new user?s account is opened ?
ASystem file
BFile method
CDriving method
DAll of these
Correct Answer: Option C
Note: null
MCQ 143Starting up the Terminal
In what system variable is name Kumar of default directory preserved ?
AShell
Bhome
CSHELL
DHOME
Correct Answer: Option B
Note: null
MCQ 144Starting up the Terminal
In which directory is home directory located ?
Aadmin
Buser
C/ root
D#
Correct Answer: Option C
Note: null
MCQ 145Starting up the Terminal
Which sign is used to separate file and directory in path ?
A\
B/
C? ?
D$
Correct Answer: Option B
Note: null
MCQ 146Starting up the Terminal
Which of the following command is used to know home directory in Linux ?
Aecho $Home
BEcho $home
CWhat is home
Ddir $HOME
Correct Answer: Option A
Note: null
MCQ 147Starting up the Terminal
How is the directory you are presently working in is known as ?
Asub
Bcurrent
Croot
Dmain
Correct Answer: Option B
Note: null
MCQ 148Starting up the Terminal
How many directories can you be in at a given time ?
A1
B2
C3
D4
Correct Answer: Option A
Note: null
MCQ 149Starting up the Terminal
What will be the output of command pwd if your current directory is named Trishla ?
Ahome / Trishla
B/ home / administrator / Trishla
C\ home \ Trishla
DTrishla
Correct Answer: Option B
Note: null
MCQ 150Starting up the Terminal
Which command is used to make directory ?
Amd
Bmdir
Cmikdir
Dmake directory
Correct Answer: Option C
Note: null
MCQ 151Starting up the Terminal
Which command is used to know the directory current in Linux you are in at present ?
Apdw
Bdpw
Cprwd
Dpwd
Correct Answer: Option D
Note: null
MCQ 152Starting up the Terminal
How many directories can one make at a time by making use of Linux mkdir command ?
A1
B2
C3
DMany
Correct Answer: Option D
Note: null
MCQ 153Starting up the Terminal
Which command is used in Linux for going from one directory to the other ?
Acd?
Bcd
Cchcd
Dchd
Correct Answer: Option B
Note: null
MCQ 154Starting up the Terminal
Which command is used to exit from current work directory ?
Acd?
Bcd
Ccd\
Dcd
Correct Answer: Option A
Note: null
MCQ 155Starting up the Terminal
In command cd? what does ? indicate ?
Aroot directory
Bparent directory
Cchild directory
Dcurrent directory
Correct Answer: Option B
Note: null
MCQ 156Starting up the Terminal
Which command would you give to come to home directory from home / Dhaval / Mansi / Trishla ?
Acd.. /../..
Bcd? should be given thrice
Ccd? /
Dor B
Correct Answer: Option D
Note: null
MCQ 157Starting up the Terminal
Which command is to remove any empty directory ?
Adeldir
Bremove
Crmdir
Ddelete
Correct Answer: Option C
Note: null
MCQ 158Starting up the Terminal
How many empty directories can be removed at a time ?
A1
B2
C3
DMany
Correct Answer: Option D
Note: null
MCQ 159Starting up the Terminal
Which command is used to removed a non-empty directory with its total data ?
Armdir
Brm ? d
Crmdir ? r
Drm ? r
Correct Answer: Option D
Note: null
MCQ 160Starting up the Terminal
In Linux operative system how many maximum number of letters can be there of a file name ?
A256
B255
C265
D65
Correct Answer: Option B
Note: null
MCQ 161Starting up the Terminal
In Linux as name which letter other than any ASCII letter can be kept ?
A/
BNull
C\ and null
DBoth A and B
Correct Answer: Option D
Note: null
MCQ 162Starting up the Terminal
Which letter are approved in file name as letters ?
AAny control letter
BNon-printable letters
C/ and Null
DBoth A and B
Correct Answer: Option D
Note: null
MCQ 163Starting up the Terminal
Which of the following is approved file name ?
Aac ? cd ? d?
B-{ }
Ctest $ #
DAll of these
Correct Answer: Option D
Note: null
MCQ 164Starting up the Terminal
Which signs are recommended for Linux inclusion in Linux file name ?
AEnglish alphabets and numbers
BFull point ? and hyphen ?
CUnderscore ?
DAll of these
Correct Answer: Option D
Note: null
MCQ 165Starting up the Terminal
test 1, Test 1, TEST 1- How are these three file named in Linux ?
ASimiliar
BDifferent
CDepends on kernel
DDepends on shell
Correct Answer: Option B
Note: null
MCQ 166Starting up the Terminal
Give the full form of pwd.
APreset Working Directory
BPermanent Working Directory
CPresent Working Directory
DPerfect Working Directory
Correct Answer: Option C
Note: null
MCQ 167Starting up the Terminal
Which of the following shows unit of information which can be used for different purposes ?
AShell
BDirectory
CCommand
DFile
Correct Answer: Option D
Note: null
MCQ 168Starting up the Terminal
Which of the following is a special kind of file that makes which itself other files and directories ?
AFile
BRoot File
CDirectory
DSystem File
Correct Answer: Option C
Note: null
MCQ 169Starting up the Terminal
Which of the following statement is carect in the context of Linux operative system ?
AIt is not compulsory to give file extension in Linux
BLinux is completely case negative
CIn Linux file name sign / and letter null cannot be used in file name
DAll of these
Correct Answer: Option D
Note: null
MCQ 170Starting up the Terminal
Which command is used to show information of small files or to make new files ?
Acd
Bcal
Ccat
Dcp
Correct Answer: Option C
Note: null
MCQ 171Starting up the Terminal
State function of cat command.
ATo view information in file
BTo join two files
CMaking files and adding new writing at their end
DAll of these
Correct Answer: Option D
Note: null
MCQ 172Starting up the Terminal
Which key in Linux shows the end of file ?
AAlt + q
BCtrl + E
CCtrl + d
Dquit
Correct Answer: Option C
Note: null
MCQ 173Starting up the Terminal
Which command is used to add information at the end of a file ?
Acat>>filename
Bcat filename
Ccat<filename
Dcat<<filename
Correct Answer: Option A
Note: null
MCQ 174Starting up the Terminal
Which command is used to view the writing of file made ?
Acat>>filename
Bcat filename
Ccat<filename
Dcat<<filename
Correct Answer: Option B
Note: null
MCQ 175Starting up the Terminal
In Linux ?cat>test? command if ?test? file is present then what happens after writing information and giving Ctrl + d ?
ANew information will not be added to the old one
BNew information will be added to the old one
CFile will become empty
DOld information will be deleted, new information will be saved
Correct Answer: Option D
Note: null
MCQ 176Starting up the Terminal
Which command is given to assemble writing of Temp 1 and Temp 2 in file named permanent ?
Acat Temp1 + Temp2 >> permenent
Bcat Temp1 Temp2 > permenent
Ccat Temp1 & Temp2 permenent
Dcat permenent > Temp1 Temp2
Correct Answer: Option B
Note: null
MCQ 177Starting up the Terminal
State the use of rm command.
ATo change file name
BTo remove file name
CTo move file
DTo make file disappear
Correct Answer: Option B
Note: null
MCQ 178Starting up the Terminal
How many files at a time can be removed by rm command ?
A1
BOnly one
CMore than one
DBoth A and C
Correct Answer: Option D
Note: null
MCQ 179Starting up the Terminal
Which command will be given to remove file named Ram ?
Armdir Ram
Bdel Ram
Crm Ram
Dmv Ram
Correct Answer: Option C
Note: null
MCQ 180Starting up the Terminal
Which command is used to remove all the present files at a time ?
Arm all
Brm ???
Crm*
Dremove all
Correct Answer: Option C
Note: null
MCQ 181Starting up the Terminal
Which command is used before Alert message to remove any file ?
Arm -i filename
Brm -r filename
Crm -a filename
Drm -m filename
Correct Answer: Option A
Note: null
MCQ 182Starting up the Terminal
Which command is used to remove all the details with information contained in it ?
Arm -i directory name
Brm -r directory name
Crm -rf directory name
Drm -r* directory name
Correct Answer: Option B
Note: null
MCQ 183Starting up the Terminal
Which command is used to see in Linux respective directories and file and directory list contained in them ?
Acat
Blist
Cls
Dli
Correct Answer: Option C
Note: null
MCQ 184Starting up the Terminal
In Linux which file is called hidden beginning with which sign ?
Ah
B.
Cd
D*
Correct Answer: Option B
Note: null
MCQ 185Starting up the Terminal
Which command will you give to view file and directory list hidden in Linux ?
Als -a
Bls ? l
Cls -h
Dls -R
Correct Answer: Option A
Note: null
MCQ 186Starting up the Terminal
In which order is list of files and directories seen in present directory by giving Is command ?
Aby date
Bby name
Cby size
Dby wildcard
Correct Answer: Option B
Note: null
MCQ 187Starting up the Terminal
Which two directories are automatically made on making new directory in Linux ?
Afile 1 file 2
B.. and?
C. and..
D*and /
Correct Answer: Option C
Note: null
MCQ 188Starting up the Terminal
Which of the following sign is used for current directory ?
A.
B..
C$
D*
Correct Answer: Option A
Note: null
MCQ 189Starting up the Terminal
How is sign., known in Linux ?
ACurrent directory
BChild directory
CPresent directory
DParent directory
Correct Answer: Option D
Note: null
MCQ 190Starting up the Terminal
Which command is given to view output of Is command according column ?
A1s ? fx
B1s -x
C1s ? R
D1s ? F
Correct Answer: Option B
Note: null
MCQ 191Starting up the Terminal
Which command will you give in Linux to view directory and executable command ?
A1s -fx
B1s -x
C1s -R
D1s -F
Correct Answer: Option D
Note: null
MCQ 192Starting up the Terminal
In 1s-F command output which sign is seen after output directory ?
A\
B/
C*
D#
Correct Answer: Option B
Note: null
MCQ 193Starting up the Terminal
What is indicated by *sign in 1s-F command output ?
ADirectory
BFile
CExecutable Time Table
DHidden File
Correct Answer: Option C
Note: null
MCQ 194Starting up the Terminal
Which command is used to view only one file on one line ?
Als -1
Bls ~
Cls-I
Dls ?
Correct Answer: Option C
Note: null
MCQ 195Starting up the Terminal
Which command will you give to view all executable files and directories marked by signs * and / ?
Als -r
Bls -t
Cls -I
Dls -F
Correct Answer: Option D
Note: null
MCQ 196Starting up the Terminal
Which of the following does ?*? wildcard indicate ?
AOne letter
BCluster of letters
COne number
DNone of these
Correct Answer: Option B
Note: null
MCQ 197Starting up the Terminal
How many letters does ??? wildcard compare ?
AOne letter
BCluster of letters
CCluster of numbers
DNone of these
Correct Answer: Option A
Note: null
MCQ 198Starting up the Terminal
Which of the following wild card is included , in Linux ?
A?
B*
C[ ]
DAll of these
Correct Answer: Option D
Note: null
MCQ 199Starting up the Terminal
Which of the following will present all the files with four letter ?
A1s [abed]*
B1s[ab] ?
C1s ?[abc] [xyz] ?
DBoth B and C
Correct Answer: Option D
Note: null
MCQ 200Starting up the Terminal
Which name will not be included in file list shown by giving Is ? at ?
AHat
BCat
CMap
DBoth A and B
Correct Answer: Option C
Note: null
MCQ 201Starting up the Terminal
Which command is used to view files other than those not beginning with vowels ?
Als![aeiou]*
B1s [!aeiou]*
Cls [aeiou]*
Dls?[aeiou]?
Correct Answer: Option B
Note: null
MCQ 202Starting 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]
DBoth A and C
Correct Answer: Option D
Note: null
MCQ 203Starting up the Terminal
Which of the following file name will not be seen on giving command 1s tempt [1-5] ?
Atemp2
Btemp3
Ctemp 15
Dtemp4
Correct Answer: Option C
Note: null
MCQ 204Starting up the Terminal
Which is the command for copying file in Linux ?
Acopy
Bcp
Ccc
Dbcc
Correct Answer: Option B
Note: null
MCQ 205Starting up the Terminal
How many minimum number of arguments are needed in cp command ?
A1
B2
C3
D4
Correct Answer: Option B
Note: null
MCQ 206Starting up the Terminal
What is given as first argument in cp command ?
ASource file
BDestination file
CName of directory
DExecutable file
Correct Answer: Option A
Note: null
MCQ 207Starting up the Terminal
What is given as second argument in second cp command ?
ASource file
BDestination file
CName of directory
DExecutable file
Correct Answer: Option B
Note: null
MCQ 208Starting up the Terminal
By cp command how many files can be simultaneously copied in directory ?
AOne
BMore than one
CBoth A and B
DNone of these
Correct Answer: Option C
Note: null
MCQ 209Starting up the Terminal
In cp command if the name of an existing file is given what will be its result ?
AInformation will be added at the end of file
BInformation will not be copied
CNew information will over-written on information in file
Dwill show error
Correct Answer: Option C
Note: null
MCQ 210Starting up the Terminal
Which directory will be there in test 2 test 3 test 4 ?
Atest1
Btest2
Ctest3
Dtest4
Correct Answer: Option D
Note: null
MCQ 211Starting up the Terminal
For what is Linux command mv used ?
AFor changing file name
BFor changing directory name
CTo move one or more file in directory
DAll of these
Correct Answer: Option D
Note: null
MCQ 212Starting up the Terminal
Which command does not use any additional space in disc ?
Acp
Bmv
Ccat > filename
DBoth A and C
Correct Answer: Option B
Note: null
MCQ 213Starting up the Terminal
Which command is used to change the name of file or directory ?
Acp
Bmv
Ccmp
Ddiff
Correct Answer: Option B
Note: null
MCQ 214Starting up the Terminal
What will happen on giving mv abc pqr ? In this directory named pqr is made
AName of abc file will change to pqr
Babc file will go into pqr
Cpqr directory will go into abc
Dwill show error
Correct Answer: Option B
Note: null
MCQ 215Starting up the Terminal
Which command in Linux shows only one page on screen at a time ?
Apage
Bmore
C/p
D1s page
Correct Answer: Option B
Note: null
MCQ 216Starting up the Terminal
Which key used to view information on next page by more command ?
An
Bb
Cf
Dp
Correct Answer: Option C
Note: null
MCQ 217Starting up the Terminal
Which key used to view information on previous page by more command ?
An
Bb
Cf
Dp
Correct Answer: Option B
Note: null
MCQ 218Starting up the Terminal
Which command will you give to view page-wise output of file Aarti ?
Amore Aarti
Bcat Aarti|more
Cor B
Dcat aarti
Correct Answer: Option C
Note: null
MCQ 219Starting up the Terminal
Which command is used to compare two files ?
Acp
Bcomp
Ccmp
Dcompile
Correct Answer: Option A
Note: null
MCQ 220Starting up the Terminal
On which output tool does cmp command show its result ?
Aroot
Bredirection
Cstandard
Dadministrator
Correct Answer: Option C
Note: null
MCQ 221Starting up the Terminal
Which command undertakes extension of cmp command?
Acompare
Bdifferent
Ccomp
Dcliff
Correct Answer: Option D
Note: null
MCQ 222Starting up the Terminal
Which command compares the writing of two files received by it as arguments to show the difference ?
Acompare
Bdifferent
Ccomp
Ddiff
Correct Answer: Option D
Note: null
MCQ 223Starting 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_ _ _
Dfile 2
Correct Answer: Option A
Note: null
MCQ 224Starting up the Terminal
Which sign shows the difference in second file given as argument by diff command ?
A<
B>
C_ _ _
D@
Correct Answer: Option B
Note: null
MCQ 225Starting up the Terminal
diff command shows difference between two files. Which sign is seen between those two files ?
A_ _ _
B_ _
C____
D_ _ _ _
Correct Answer: Option A
Note: null
MCQ 226Starting up the Terminal
Give the full form of wc command.
Aword count
Bword calculation
Cwrite calculator
Dword command
Correct Answer: Option A
Note: null
MCQ 227Starting up the Terminal
Which command is there in Linux to know the number of letters, words and lines in Linux file ?
Awc
Bwc
Cwcount
Dwordcount
Correct Answer: Option A
Note: null
MCQ 228Starting up the Terminal
How many options are there in Linux wc command ?
A1
B2
C3
D4
Correct Answer: Option C
Note: null
MCQ 229Starting up the Terminal
Which of the following is wc command ?
A-1
B-c
C-w
DAll of these
Correct Answer: Option D
Note: null
MCQ 230Starting up the Terminal
Which command will you give to calculate number of total lines, words and letters in file named Aarti ?
Awc -l -w -c Aarti
Bwc -lwc Aarti
Cor B
Dwc lwc Aarti
Correct Answer: Option C
Note: null
MCQ 231Starting 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 ?
A150 60 20
B20 150 60
C150 20 60
D20 60 150
Correct Answer: Option D
Note: null
MCQ 232Starting up the Terminal
In 1s-1 command what does 1 mean ?
Alist
Blong list
Clocal list
Dlarge list
Correct Answer: Option B
Note: null
MCQ 233Starting up the Terminal
In output of command ls-1 what does the first letter seen indicate ?
AInformation Right
BObject
CGroup
DFile or Directory
Correct Answer: Option D
Note: null
MCQ 234Starting up the Terminal
Which letter indicates file in the output of ls-1 command ?
Ad
Bx
C?
Dr
Correct Answer: Option C
Note: null
MCQ 235Starting up the Terminal
Which letter seen in 1s-1 output indicates directory ?
Ad
Bx
C?
Dw
Correct Answer: Option A
Note: null
MCQ 236Starting up the Terminal
How many types of permissions can be granted to Linux file or directory ?
A1
B2
C3
D4
Correct Answer: Option C
Note: null
MCQ 237Starting up the Terminal
Which sign is seen when no permission is granted in Linux file or directory ?
A#
B$
C?
D*
Correct Answer: Option C
Note: null
MCQ 238Starting up the Terminal
Who is file owner in Linux file ?
ALinus Torwaldz
BMaker of File
CKernel
DAdministrator
Correct Answer: Option B
Note: null
MCQ 239Starting up the Terminal
What does letter ?w? for giving permission to file indicate ?
APermission to write file
BPermission to delete file
Cor C
DPermission to over-write
Correct Answer: Option C
Note: null
MCQ 240Starting up the Terminal
Which place number indicates permission granted to group ?
A456
B567
C789
D123
Correct Answer: Option B
Note: null
MCQ 241Starting up the Terminal
Which number system do we use to indicate permission through form of numbers ?
AHexa
BBinary
CDecimal
DOctel
Correct Answer: Option D
Note: null
MCQ 242Starting up the Terminal
In eight digit system what permission does 3 give ?
AReading only
BReading and Executing
CWriting and Executing
DReading and Writing
Correct Answer: Option C
Note: null
MCQ 243Starting up the Terminal
Which number will be used in eight-digit system to grant write only permission ?
A4
B2
C1
D7
Correct Answer: Option B
Note: null
MCQ 244Starting up the Terminal
Which command is used to change permission about use of any file ?
Achgmode
Bchange
Cchmode
Dchmod
Correct Answer: Option D
Note: null
MCQ 245Starting up the Terminal
How is the task of changing permission is ? known ?
ACursor mode operation
BChange mode operation
CCharacter mode operation
DNone of these
Correct Answer: Option B
Note: null
MCQ 246Starting up the Terminal
What does u mean in ugo ?
Aubuntu
Buse
Cuser
Dunique
Correct Answer: Option C
Note: null
MCQ 247Starting up the Terminal
What does g mean in ugo ?
Agrater then
Bgroup
Cground
Dgood
Correct Answer: Option B
Note: null
MCQ 248Starting up the Terminal
What does o mean in ugo ?
Aopen
Bowner
Cother
Doptional
Correct Answer: Option C
Note: null
MCQ 249Starting 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-
Correct Answer: Option D
Note: null
MCQ 250Starting up the Terminal
Which command will give file user, permission to write and execute ?
Achmode ug+wx
Bchande ug+rx
Cchmod u+wx
Dchmod o+wx
Correct Answer: Option C
Note: null
MCQ 251Starting 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
Correct Answer: Option C
Note: null
MCQ 252Starting up the Terminal
What is used in Linux as standard input device ?
AMouse
BKeyboard
CJoysick
DPencil
Correct Answer: Option B
Note: null
MCQ 253Starting up the Terminal
What is used in Linux as standard output device ?
AMonitor
BPlotter
CRouter
DMouse
Correct Answer: Option A
Note: null
MCQ 254Starting up the Terminal
Which of two following commands have identical meanings ?
Awc -1 Kumar.txt and wc-1 > Kumar.txt
Bwc -1 Kumar.txt and wc-1 < Kumar.txt
Cwc -1 Kumar.txt and wc-1 >> Kumar.txt
Dwc -1 Kumar.txt and wc-1 << Kumar.txt
Correct Answer: Option B
Note: null
MCQ 255Starting up the Terminal
From where is input taken in wc-w marisha.txt command ?
Amarisha.txt
Bkeyboard
Cwc-w
Dwc
Correct Answer: Option A
Note: null
MCQ 256Starting up the Terminal
Which command will be written to store files list book into present directory ?
Abook >ls
Bls > book
Cwc > book
Dbook >> 1s
Correct Answer: Option B
Note: null
MCQ 257Starting up the Terminal
What will happen on giving cal>calendar ?
AOutput of cal command will be seen on screen
BFile output calendar will be seen on cal command
CBoth A and B
DNone of these
Correct Answer: Option B
Note: null
MCQ 258Starting up the Terminal
Which facility is there in Linux to join one command with another ?
AJoint
BMarge
CConnect
DPiping
Correct Answer: Option D
Note: null
MCQ 259Starting up the Terminal
Which of the following is called pipe symbol ?
A|
B||
C&&
D&
Correct Answer: Option A
Note: null
MCQ 260Starting up the Terminal
Which of the following command is used to know number of files in present directory ?
Awc -1| ls
Bls wc -l
Cls | wc -1
DNone of these
Correct Answer: Option C
Note: null
MCQ 261Starting up the Terminal
Which of the following is not a redirection sign ?
A>
B<
C*
D>>
Correct Answer: Option C
Note: null
MCQ 262Starting up the Terminal
In 1s | wc-1 the output of which command becomes input of which command ?
Als, wc
Bwc, -l
Cwc, ls
Dwc -l, ls
Correct Answer: Option A
Note: null
MCQ 263Starting up the Terminal
Which of the following two commands have identical meanings ?
Acp Krupa Chintan
Bcat Krupa > Chintan
Ccat Krupa | Chintan
DBoth A and B
Correct Answer: Option D
Note: null
MCQ 264Starting up the Terminal
Which of the following facility is helpful in joining command with file ?
ARedirection
BPiping
CFilter
DMount
Correct Answer: Option B
Note: null
MCQ 265Starting up the Terminal
Which filters are available in Linux ?
Ahead and tail
Bcut and paste
Csort and tr
DAll of these
Correct Answer: Option D
Note: null
MCQ 266Starting up the Terminal
Which sign is used in upper or opening lines of file ?
Aupper
Bhead
Ctop
Dtitle
Correct Answer: Option B
Note: null
MCQ 267Starting 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 ?
ALast ten
BFirst ten
CFirst five
DAll
Correct Answer: Option B
Note: null
MCQ 268Starting up the Terminal
Which command is given to view only first three lines from Kumar.txt file ?
Ahead3-kumar.txt
Bhead+3 kumar.txt
Chead3kumar.txt
Dhead-3kumar.txt
Correct Answer: Option D
Note: null
MCQ 269Starting up the Terminal
Which filter us used to show the last lines of file ?
ALast
BLower
CBottom
DTail
Correct Answer: Option D
Note: null
MCQ 270Starting up the Terminal
Which number of last lines does tail command show by default ?
AFirst ten
BLast ten
CAll after ten
DAll of these
Correct Answer: Option B
Note: null
MCQ 271Starting up the Terminal
Which command is used to show all the lines till the last one beginning from a specific one ?
Ahead
Btail
CBoth A and B
Dpaste
Correct Answer: Option B
Note: null
MCQ 272Starting up the Terminal
Which command will be useful in viewing from 8th line to the last one in file Kumar.txt ?
Atail +8 Kumar.txt
Btail 8- Kumar.txt
Ctail -8 Kumar.txt
Dtail 1-8 Kumar.txt
Correct Answer: Option A
Note: null
MCQ 273Starting 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
Correct Answer: Option A
Note: null
MCQ 274Starting up the Terminal
Which command will be used to get line 1 to 4 and 10 to 20 from student file ?
Acut ? c 1-4 & 10-20 student
Bcut-c-4, 10-20 student
Ccut -c, 1-4, 10-20 student
DBoth B and C
Correct Answer: Option D
Note: null
MCQ 275Starting up the Terminal
What output will be obtained from cut -c 1-5 ?
AFirst Five Words
BFirst Five Letters
CLast Five Letters
DLast Five Words
Correct Answer: Option B
Note: null
MCQ 276Starting up the Terminal
Which option of cut command is useful for ? lines of specific length ?
A-af
B-l
C-d
D-c
Correct Answer: Option D
Note: null
MCQ 277Starting 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 ?
Afilter
Bbullet
Cdelimiter
Dsymbol
Correct Answer: Option C
Note: null
MCQ 278Starting up the Terminal
Which option is used with cut command to show column number in file ?
A-c
B-f
C-d
D-r
Correct Answer: Option B
Note: null
MCQ 279Starting up the Terminal
Which command will be used in Student file with ?,? sign as delimiter to view second, fifth and all subsequent fields ?
Acut -d ? ? 2, 5- student
Bcut -f 2, -5 student
Ccut -d ?,? -f 2, -5 student
Dcut -d ?,? -f 2, 5- student
Correct Answer: Option D
Note: null
MCQ 280Starting up the Terminal
What will be the result of cut -d ?:? -f -2 kumar.txt ?
AMonitor will show first 2 fields
BFirst 2 field kumar.txt> file will be given
CWill go into first 2 field book.txt file
DNone of these
Correct Answer: Option C
Note: null
MCQ 281Starting up the Terminal
What is the first details of 1s-1 output ?
APermission
BSize bytes
CDate
DTime
Correct Answer: Option A
Note: null
MCQ 282Starting up the Terminal
Which command will be used to view list only with field permission of output 1s-1. Space is given as delimiter
Als -l | cut -d ? ? -f -1
Bls -l | cut -d ?:? -f -1
Ccut -d ? ? -f l | ls -l
Dcut -d ? ? -f 1 ls ? l
Correct Answer: Option A
Note: null
MCQ 283Starting up the Terminal
Which command is used to combine specific information of two files ?
Acut
Bcat
Cpaste
Dmerge
Correct Answer: Option C
Note: null
MCQ 284Starting up the Terminal
What is to be ascertained before giving paste command ?
ABoth files should be in current directory
BBoth files should have equal number of lines
CBoth should have the same name
DBoth A and B
Correct Answer: Option D
Note: null
MCQ 285Starting up the Terminal
What will be result of command paste file 1 file 2 ?
Afile 1 will be copied in file 2
Bfile 2 will copied in file 1
Cfile 2 will be copied under file 1
Dwriting of file 2 will be copied on right side of file 1
Correct Answer: Option D
Note: null
MCQ 286Starting up the Terminal
Which command is used to organize details in ascending or descending order ?
ADecending
BSort
CAscending
DGrep
Correct Answer: Option B
Note: null
MCQ 287Starting up the Terminal
Like which command does sort command identifies filed and arranges on the basis of shown field ?
A1s
Bpaste
Ccut
Dhead and tail
Correct Answer: Option C
Note: null
MCQ 288Starting up the Terminal
Which order does sort command line letters by default ?
ABlanks,numbers, small letters,capital letters
BCapital letters, small letters, numbers, blanks
CBlanks, numbers, capital letters, small letters
DSmall letters, capital letters, numbers, blanks
Correct Answer: Option C
Note: null
MCQ 289Starting up the Terminal
Which option is used with sort command to arrange data in descending order ?
A-d
B-r
C-a
D-v
Correct Answer: Option B
Note: null
MCQ 290Starting up the Terminal
In file named student there is sign. Which command will you give seventh field hobby in ascending order ?
Acut -d ?,? -f -7 Student | Sort
Bcut -d ?,? -f 7 Student | Sort
Ccut -d ?,? -f 7 Student | Sort
DBoth B and C
Correct Answer: Option B
Note: null
MCQ 291Starting up the Terminal
Which of the following is not filter ?
AGrep
BUniq
CBoth A and B
DMove
Correct Answer: Option D
Note: null
MCQ 292Starting up the Terminal
Which of the following command is used in Linux to show Temp 1 Temp 2 file data simultaneously ?
Apaste Temp1, Temp2
Bpaste Tmep1-Temp2
Cpaste Temp1+ Temp2
Dpaste Temp1 & Temp2
Correct Answer: Option B
Note: null
MCQ 293Starting up the Terminal
How are commands to obtain data from file ? made in Linux known ?
AFilter
BSearch
CFile
DFill
Correct Answer: Option A
Note: null
MCQ 294Starting up the Terminal
How many filters of Linux are discussed in the book ?
A4
B6
C8
D10
Correct Answer: Option B
Note: null
MCQ 295Starting up the Terminal
Which of the following command makes efficient use of different letters in a line ?
Agrep
Bpaste
Ctr
Dcut
Correct Answer: Option C
Note: null
MCQ 296Starting up the Terminal
State the full form of tr.
Atranslate
Btrim
Ctransfer
Dor B
Correct Answer: Option D
Note: null
MCQ 297Starting up the Terminal
Which of the following command translates a sentence or pattern from one type to another ?
Auniq
Btr
Csort
Dgrep
Correct Answer: Option B
Note: null
MCQ 298Starting up the Terminal
In file named Kumar ?,?is used as delimiter. Which command will you use to replace it with # ?
Acut Kumar | tr -s ?:? ?#?
Bcut Kumar | tr -s [?#?] [?:?]
Ccut Kumar | tr -s [?:?] [?#?]
Dcut Kumar | tr-s ?[:]?'[#]?
Correct Answer: Option D
Note: null
MCQ 299Starting up the Terminal
Which option is used with tr command ?
A-d
B-s
C-f
D-v
Correct Answer: Option B
Note: null
MCQ 300Starting up the Terminal
Which is command for changing into space, more than one gaps in file lines ?
Atr -r
Btr ? s
Ctr ? c
Dtr -f
Correct Answer: Option B
Note: null
MCQ 301Starting up the Terminal
Which command will you give to change from lowercase to uppercase file named Chintan ?
Acat Chintan | tr ?a-z? ?A-Z?
Bcat Chintan | tr ?[a-z]? ?[A-Z]?
Ccat Chintan | tr ?[A-Z]? ?[a-z]?
Dcat Chintan | tr ?[a-z]? ?[A-Z]?
Correct Answer: Option D
Note: null
MCQ 302Starting up the Terminal
Which is Linux command for showing from file the line with some specific word ?
Asearch
Bseek
Cfind
Dgrep
Correct Answer: Option D
Note: null
MCQ 303Starting up the Terminal
Give full form of grep.
Asearch globally for a reserved experience
Bglobally search for a regular export
Csearch globally for a regular expression
Dsearch globally for a research expression
Correct Answer: Option C
Note: null
MCQ 304Starting up the Terminal
State the meaning of g/re/p.
ALocal search of a specific equation
BUniversal search of a specific equation
CNon-variable search of a specific equation
DEfficient search of a specific equation
Correct Answer: Option B
Note: null
MCQ 305Starting up the Terminal
How can grep be used ?
ARegular data cluster
BAs filter
CTo look into file
DAll of these
Correct Answer: Option D
Note: null
MCQ 306Starting 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
Correct Answer: Option B
Note: null
MCQ 307Starting 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
Correct Answer: Option D
Note: null
MCQ 308Starting up the Terminal
What does searched number without showing writing indicate ?
A-i
B-cn
C-c
D-o
Correct Answer: Option C
Note: null
MCQ 309Starting up the Terminal
State function of -o option of grep command.
AStates only file name
BShows only searched words
CShows lines in which the searched word is not located
Dnone of these
Correct Answer: Option B
Note: null
MCQ 310Starting up the Terminal
In which coloured output are the words searched through grep command shown ?
AViolet
BYellow
CGreen
DRed
Correct Answer: Option D
Note: null
MCQ 311Starting up the Terminal
Which command is used to know path of file or directory ?
AFind
BSearch
CRun
DProperties
Correct Answer: Option A
Note: null
MCQ 312Starting up the Terminal
What does command grep-icv labh vidya show?
A1
Blabh
C3
D102 : labh : BCA : Paldi
Correct Answer: Option C
Note: null
MCQ 313Starting up the Terminal
What does command grep -I MCA Vidya show ?
AMCA
B2
CVidya
DError message
Correct Answer: Option C
Note: null
MCQ 314Starting up the Terminal
In above file number 255 what command will you give for arrangement in descending order ?
Acut -d sort | Vidya
Bcat -d -f 4 Vidya | sort -r
Ccut -d -f 4 Vidya | sort -r
Dcut -d -f -4 Vidya | sort
Correct Answer: Option C
Note: null
MCQ 315Starting up the Terminal
Which command is used to locate the place of ? file or directory made ?
ASearch
BFind
CDiff
DShow
Correct Answer: Option B
Note: null
MCQ 316Starting up the Terminal
Which is parameter for searching path of file or directory ?
AName, group, type
BPermission and time
CDate and size
DAll of these
Correct Answer: Option D
Note: null
MCQ 317Starting up the Terminal
Who/Which is only other entity having the same rights as those of administrator ?
Asuper admin
Bskype
Csudo
Dsuper user
Correct Answer: Option D
Note: null
MCQ 318Starting up the Terminal
What should be written before any command to use account of super user in using terminal ?
ASUDO
Bduso
Csudo
Dsudo User
Correct Answer: Option A
Note: null
MCQ 319Starting up the Terminal
Which command is used to make a new user on system ?
Aadmin
Badduser
Caddgroup
Dadduname
Correct Answer: Option B
Note: null
MCQ 320Starting up the Terminal
Which command is used to see the list of users logged in system ?
Awho
Bwhoami
Cwholist
Dwhom
Correct Answer: Option A
Note: null
MCQ 321Starting up the Terminal
Which command adds a new group to divide users in a group ?
Aaddpart
Bdeluser
Cadduser
Daddgroup
Correct Answer: Option D
Note: null
MCQ 322Starting up the Terminal
Which command is used to delete any user from system ?
Adelgroup
Bdelpart
Cdeluser
Ddelteam
Correct Answer: Option C
Note: null
MCQ 323Starting up the Terminal
Which command is used remove entire group from system ?