GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands

Well-structured Std 11 Computer Textbook MCQ Answers and Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands can serve as a valuable review tool before computer exams.

GSEB Std 11 Computer Chapter 6 MCQ Basic Ubuntu Linux Commands

Question 1.
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)
Answer:
(D) Both (B) and (C)

Question 2.
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
Answer:
(B) Command line interface

Question 3.
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
Answer:
(B) Terminal window

Question 4.
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
Answer:
(C) Application/Accessories/Terminal

Question 5.
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
Answer:
(B) Command Prompt

Question 6.
What does command prompt suggest ?
(A) Interface is ready
(B) Condition of command
(C) Interface is not ready
(D) Result of command
Answer:
(A) Interface is ready

Question 7.
In Linux what does programme for proving specific task suggest ?
(A) Method
(B) Characteristic
(C) Option
(D) Command
Answer:
(D) Command

GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands

Question 8.
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
Answer:
(C) Shell

Question 9.
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
Answer:
(D) All of these

Question 10.
How many shells are available on shell for working on Linux system ?
(A) 10
(B) 100
(C) 50
(D) innumerable
Answer:
(D) innumerable

Question 11.
Which of the following is a well-known shell ?
(A) C shell (csh and tcsh)
(B) Bourne shell bash shell (sh)
(C) Corn shell (ksh)
(D) All of these
Answer:
(D) All of these

Question 12.
What is the short name for Bourne shell ? OR Which is Unix shell before it ?
(A) barn
(B) korn
(C) csh
(D) sh
Answer:
(D) sh

Question 13.
What is the name or command of file for implementing corn shell ?
(A) ksh
(B) csh
(C) sh
(D) bsh
Answer:
(A) ksh

Question 14.
How many files or commands are there for implementing C shell ?
(A) 1
(B) 2
(C) 3
(D) 4
Answer:
(B) 2

GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands

Question 15.
Which shell contributes basic arrangement for shell script programming ?
(A) Bourne
(B) Corn
(C) C
(D) bash
Answer:
(A) Bourne

Question 16.
At present which is authentic shell for all Linux systems ?
(A) tcsh
(B) ksh
(C) bash
(D) sh
Answer:
(C) bash

Question 17.
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
Answer:
(C) It is completely case sensitive

Question 18.
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
Answer:
(D) cat/etc/shells

Question 19.
Which is the command for showing default or predetermined shell ?
(A) cat$SHELL
(B) ECHO SHELL
(C) echo $shell
(D) echo SHELL
Answer:
(C) echo $shell

Question 20.
How is the shell, through which we work is known once we login ?
(A) Command
(B) System
(C) Default
(D) Temporary
Answer:
(C) Default

Question 21.
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
Answer:
(A) Name of that shell is typed on command line

GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands

Question 22.
What is nature of interchange of shell ?
(A) Permanent
(B) Temporary
(C) Momentary
(D) 60 Minutes
Answer:
(B) Temporary

Question 23.
What is given on command prompt to return to previous shell ?
(A) Ctrl+d
(B) exit
(C) Both (A) and (B)
(D) quit
Answer:
(C) Both (A) and (B)

Question 24.
How many parts is Linux command divided in ?
(A) 2
(B) 3
(C) 4
(D) 5
Answer:
(B) 3

Question 25.
Which of the following is used in Linux command ?
(A) Name
(B) Option
(C) Argument
(D) All of these
Answer:
(D) All of these

Question 26.
How many letters or numbers do generally make command ?
(A) 0
(B) 1
(C) 2
(D) 3
Answer:
(B) 1

Question 27.
What signs begin direction that affects change in the bahvaiour of zero or more directions ?
(A) _ (Underscore)
(B) $(Dollar)
(C) #(Hash)
(D) – (hyphen)
Answer:
(D) – (hyphen)

Question 28.
How are information units from zero or more known that enable command to complete its task ?
(A) Action
(B) Options
(C) Argument
(D) Shell
Answer:
(C) Argument

GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands

Question 29.
In which environment variable is value of present predetermined shell preserved ?
(A) SHELL
(B) Shell
(C) Home
(D) None of these
Answer:
(A) SHELL

Question 30.
Which two features are included in Korn Shell ?
(A) sh and csh
(B) sh and ksh
(C) ksh and tcsh
(D) sh and bsh
Answer:
(A) sh and csh

Question 31.
In how many can Linux command be given ?
(A) 1
(B) 2
(C) 3
(D) 4
Answer:
(B) 2

Question 32.
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
Answer:
(C) Both (A) and (B)

Question 33.
Which key is pressed in Linux for implementation of Linux command ?
(A) Enter
(B) Tab
(C) Both (A) and (B)
(D) Ctrl + Enter
Answer:
(A) Enter

Question 34.
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
Answer:
(C) cal

Question 35.
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
Answer:
(B) Calendar of current month

GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands

Question 36.
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)
Answer:
(C) cal 09 2013

Question 37.
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
Answer:
(B) cal 2013

Question 38.
Which command is used to see pagewise output of Linux command ?
(A) Page
(B) | (pipe)
(C) Pause
(D) more
Answer:
(D) more

Question 39.
Which command is used to separate two commands located in one command of Linux ?
(A) @
(B) |
(C) &
(D) #
Answer:
(B) |

Question 40.
Which command does Cal 2013|more contain ?
(A) cal
(B) more
(C) |
(D) Both (A) and (B)
Answer:
(D) Both (A) and (B)

Question 41.
In Cal 2013|more which command gets input from which command ?
(A) more, cal
(B) cal,more
(C) 2013, more
(D) | more
Answer:
(A) more, cal

Question 42.
Which command is used to show system date and time in Linux ?
(A) Date
(B) date
(C) Sysdate
(D) today
Answer:
(B) date

Question 43.
Which sign is placed before indicators identified as argument of date command ?
(A) –
(B) |
(C) +
(D) $
Answer:
(C) +

Question 44.
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
Answer:
(B) mm/dd/yy

GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands

Question 45.
What kind of indictor is used for hh:mm:ss form of time ?
(A) %t
(B) %T
(C) %H
(D) %hms
Answer:
(B) %T

Question 46.
What information is seen Linux date command output ?
(A) System date
(B) System time
(C) Both (A) and (B)
(D) None of these
Answer:
(C) Both (A) and (B)

Question 47.
Which command is there for use of calculator in Linux command line ?
(A) cb
(B) cal
(C) calc
(D) be
Answer:
(D) be

Question 48.
Which switch is used for be command ?
(A) -C
(B) -1
(C) -L
(D) -d
Answer:
(B) -1

Question 49.
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)
Answer:
(C) Standard math

GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands

Question 50.
Which mathematical functions can be performed in command line calculator ?
(A) Multiplication-division
(B) Subtraction
(C) Addition
(D) All of these
Answer:
(D) All of these

Question 51.
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
Answer:
(D) All of these

Question 52.
Which option is used to find out square root of a number in command line calculator ?
(A) root
(B) sqrt
(C) sqr
(D) srt
Answer:
(B) sqrt

Question 53.
Which command is given in command line calculator to find natural logarithm of 10 ?
(A) h(10)
(B) I(10)
(C) log(10)
(D) L(10)
Answer:
(B) I(10)

Question 54.
What is used to set number method input in Linux calculator ?
(A) itbase
(B) inbase
(C) inputbase
(D) ibase
Answer:
(D) ibase

Question 55.
What is used in Linux calculator to set number method in output ?
(A) Outputbase
(B) Outbase
(C) Obase
(D) Otbase
Answer:
(C) Obase

Question 56.
Which will be the sixteen digit number for decimal number 256 ?
(A) 110
(B) 100
(C) 265
(D) 1100100
Answer:
(B) 100

GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands

Question 57.
How is command line be calculator as compared to graphics calculator ?
(A) Speedy
(B) Flexible
(C) Both (A) and (B)
(D) None of these
Answer:
(C) Both (A) and (B)

Question 58.
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
Answer:
(B) Ctrl + d

Question 59.
Which command is used to show any message on Linux terminal ?
(A) Echo
(B) $
(C) Message
(D) None of these
Answer:
(A) Echo

Question 60.
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
Answer:
(D) All of these

Question 61.
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)
Answer:
(B) Will print the value of variable

Question 62.
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)
Answer:
(A) Will print the name of variable

Question 63.
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) < >
Answer:
(C) Back quote (’ ’)

GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands

Question 64.
In the command “Today’s date is ‘date + – | – D’ which command is implemented first ? ”
(A) Echo
(B) % D
(C) date
(D) +
Answer:
(C) date

Question 65.
Which command is used to change password of login account ?
(A) pwd
(B) psa
(C) psswd
(D) passwd
Answer:
(D) passwd

Question 66.
Which command is used to delete the writing shown on screen ?
(A) els
(B) clrscr
(C) clear
(D) all of these
Answer:
(C) clear

Question 67.
Which command is used for the help of any command ?
(A) help
(B) man
(C) whatis
(D) all of these
Answer:
(D) all of these

Question 68.
Which command is used to offer short description of any command ?
(A) help
(B) man
(C) whatis
(D) all of these
Answer:
(A) help

Question 69.
Which command is used to get total information about any command ?
(A) help
(B) man
(C) whatis
(D) all of these
Answer:
(B) man

Question 70.
Which command is used in the matter of single line help about any command ?
(A) help
(B) man
(C) whatis
(D) all of these
Answer:
(C) whatis

GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands

Question 71.
By implementing which command, the word written in description of that command is shown ?
(A) whatis
(B) apropos
(C) help
(D) man
Answer:
(B) apropos

Question 72.
Give the full form of man.
(A) Manage
(B) Manhelp
(C) Manual
(D) Manapropos
Answer:
(C) Manual

Question 73.
What command is man cp ?
(A) man
(B) cp
(C) space
(D) man cp
Answer:
(A) man

Question 74.
What is the argument in man cp ?
(A) man
(B) cp
(C) space
(D) man cp
Answer:
(B) cp

Question 75.
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
Answer:
(C) Ctrl + D

Question 76.
Whose synonym is slash in the whole path of Linux ?
(A) index
(B) root
(C) start
(D) rtdir
Answer:
(B) root

Question 77.
Which of the following is variable in system ?
(A) SHELL
(B) HOME
(C) man
(D) HELP
Answer:
(B) HOME

GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands

Question 78.
Which directory by default Linux places you in when you logon on your computer ?
(A) Main
(B) Home
(C) Secondary
(D) User
Answer:
(B) Home

Question 79.
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
Answer:
(C) Driving method

Question 80.
In what system variable is name Kumar of default directory preserved ?
(A) Shell
(B) home
(C) SHELL
(D) HOME
Answer:
(D) HOME

Question 81.
In which directory is home directory located ?
(A) admin
(B) user
(C) / root
(D) #
Answer:
(C) / root

Question 82.
Which sign is used to separate file and directory in path ?
(A) \
(B) /
(C) ‘ ’
(D) $
Answer:
(B) /

Question 83.
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
Answer:
(A) echo $Home

Question 84.
How is the directory you are presently working in is known as ?
(A) sub
(B) current
(C) root
(D) main
Answer:
(B) current

GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands

Question 85.
How many directories can you be in at a given time ?
(A) 1
(B) 2
(C) 3
(D) 4
Answer:
(A) 1

Question 86.
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
Answer:
(B) / home / administrator / Trishla

Question 87.
Which command is used to make directory ?
(A) md
(B) mdir
(C) mikdir
(D) make directory
Answer:
(C) mikdir

Question 88.
Which command is used to know the directory current in Linux you are in at present ?
(A) pdw
(B) dpw
(C) prwd
(D) pwd
Answer:
(D) pwd

Question 89.
How many directories can one make at a time by making use of Linux mkdir command ?
(A) 1
(B) 2
(C) 3
(D) Many
Answer:
(D) Many

Question 90.
Which command is used in Linux for going from one directory to the other ?
(A) cd…
(B) cd
(C) chcd
(D) chd
Answer:
(B) cd

Question 91.
Which command is used to exit from current work directory ?
(A) cd…
(B) cd
(C) cd\
(D) cd
Answer:
(A) cd…

GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands

Question 92.
In command cd… what does … indicate ?
(A) root directory
(B) parent directory
(C) child directory
(D) current directory
Answer:
(B) parent directory

Question 93.
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) (A) or (B)
Answer:
(D) (A) or (B)

Question 94.
Which command is to remove any empty directory ?
(A) deldir
(B) remove
(C) rmdir
(D) delete
Answer:
(C) rmdir

Question 95.
How many empty directories can be removed at a time ?
(A) 1
(B) 2
(C) 3
(D) Many
Answer:
(D) Many

Question 96.
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
Answer:
(D) rm – r

Question 97.
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
Answer:
(B) 255

Question 98.
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)
Answer:
(D) Both (A) and (B)

GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands

Question 99.
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)
Answer:
(D) Both (A) and (B)

Question 100.
Which of the following is approved file name ?
(A) ac • cd • d£
(B) -{ }( )
(C) test $ #
(D) All of these
Answer:
(D) All of these

Question 101.
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
Answer:
(D) All of these

Question 102.
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
Answer:
(B) Different

Question 103.
Give the full form of pwd.
(A) Preset Working Directory
(B) Permanent Working Directory
(C) Present Working Directory
(D) Perfect Working Directory
Answer:
(C) Present Working Directory

Question 104.
Which of the following shows unit of information which can be used for different purposes ?
(A) Shell
(B) Directory
(C) Command
(D) File
Answer:
(D) File

Question 105.
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
Answer:
(C) Directory

GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands

Question 106.
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
Answer:
(D) All of these

Question 107.
Which command is used to show information of small files or to make new files ?
(A) cd
(B) cal
(C) cat
(D) cp
Answer:
(C) cat

Question 108.
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
Answer:
(D) All of these

Question 109.
Which sign is used with making of file with cat command ?
GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands 1
Answer:
GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands 2

Question 110.
In Linux which sign is used to add new information to old file ?
GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands 1
Answer:
GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands 3

Question 111.
Which key in Linux shows the end of file ?
(A) Alt + q
(B) Ctrl + E
(C) Ctrl + d
(D) quit
Answer:
(C) Ctrl + d

Question 112.
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
Answer:
(A) cat>>filename

Question 113.
Which command is used to view the writing of file made ?
(A) cat>>filename
(B) cat filename
(C) cat<filename
(D) cat<<filename
Answer:
(B) cat filename

Question 114.
Which of the following sign is known as objective modifying processes ?
GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands 4
Answer:
GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands 5

GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands

Question 115.
As which operator is sign GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands 6 known ?
(A) Input redirection
(B) Append input redirection
(C) Output redirection
(D) Append output redirection
Answer:
(D) Append output redirection

Question 116.
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
Answer:
(D) Old information will be deleted, new information will be saved

Question 117.
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
Answer:
(B) cat Temp1 Temp2 > permenent

Question 118.
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
Answer:
(B) To remove file name

Question 119.
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)
Answer:
(D) Both (A) and (C)

Question 120.
Which command will be given to remove file named Ram ?
(A) rmdir Ram
(B) del Ram
(C) rm Ram
(D) mv Ram
Answer:
(C) rm Ram

Question 121.
Which command is used to remove all the present files at a time ?
(A) rm all
(B) rm ???
(C) rm*
(D) remove all
Answer:
(C) rm*

GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands

Question 122.
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
Answer:
(A) rm -i filename

Question 123.
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
Answer:
(B) rm -r directory name

Question 124.
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
Answer:
(C) ls

Question 125.
In Linux which file is called hidden beginning with which sign ?
(A) h
(B) .
(C) d
(D) *
Answer:
(B) .

Question 126.
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
Answer:
(A) ls -a

Question 127.
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
Answer:
(B) by name

Question 128.
Which two directories are automatically made on making new directory in Linux ?
(A) file 1 file 2
(B) .. and…
(C) . and..
(D) *and /
Answer:
(C) . and..

Question 129.
Which of the following sign is used for current directory ?
(A) .
(B) ..
(C) $
(D) *
Answer:
(A) .

GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands

Question 130.
How is sign., known in Linux ?
(A) Current directory
(B) Child directory
(C) Present directory
(D) Parent directory
Answer:
(D) Parent directory

Question 131.
Which command is given to view output of Is command according column ?
(A) 1s – fx
(B) 1s -x
(C) 1s – R
(D) 1s – F
Answer:
(B) 1s -x

Question 132.
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
Answer:
(D) 1s -F

Question 133.
In 1s-F command output which sign is seen after output directory ?
(A) \
(B) /
(C) *
(D) #
Answer:
(B) /

Question 134.
What is indicated by *sign in 1s-F command output ?
(A) Directory
(B) File
(C) Executable Time Table
(D) Hidden File
Answer:
(C) Executable Time Table

Question 135.
Which command is used to view only one file on one line ?
(A) ls -1
(B) ls ~
(C) ls-I
(D) ls ?
Answer:
(C) ls-I

Question 136.
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
Answer:
(D) ls -F

Question 137.
Which of the following does ‘*’ wildcard indicate ?
(A) One letter
(B) Cluster of letters
(C) One number
(D) None of these
Answer:
(B) Cluster of letters

GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands

Question 138.
How many letters does ‘?’ wildcard compare ?
(A) One letter
(B) Cluster of letters
(C) Cluster of numbers
(D) None of these
Answer:
(A) One letter

Question 139.
Which of the following wild card is included , in Linux ?
(A) ?
(B) *
(C) [ ]
(D) All of these
Answer:
(D) All of these

Question 140.
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)
Answer:
(D) Both (B) and (C)

Question 141.
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)
Answer:
(C) Map

Question 142.
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]?
Answer:
(B) 1s [!aeiou]*

Question 143.
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)
Answer:
(D) Both (A) and (C)

Question 144.
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
Answer:
(C) temp 15

Question 145.
Which is the command for copying file in Linux ?
(A) copy
(B) cp
(C) cc
(D) bcc
Answer:
(B) cp

GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands

Question 146.
How many minimum number of arguments are needed in cp command ?
(A) 1
(B) 2
(C) 3
(D) 4
Answer:
(B) 2

Question 147.
What is given as first argument in cp command ?
(A) Source file
(B) Destination file
(C) Name of directory
(D) Executable file
Answer:
(A) Source file

Question 148.
What is given as second argument in second cp command ?
(A) Source file
(B) Destination file
(C) Name of directory
(D) Executable file
Answer:
(B) Destination file

Question 149.
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
Answer:
(C) Both (A) and (B)

Question 150.
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
Answer:
(C) New information will over-written on information in file

Question 151.
Which directory will be there in test 2 test 3 test 4 ?
(A) test1
(B) test2
(C) test3
(D) test4
Answer:
(D) test4

Question 152.
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
Answer:
(D) All of these

Question 153.
Which command does not use any additional space in disc ?
(A) cp
(B) mv
(C) cat > filename
(D) Both (A) and (C)
Answer:
(B) mv

Question 154.
Which command is used to change the name of file or directory ?
(A) cp
(B) mv
(C) cmp
(D) diff
Answer:
(B) mv

GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands

Question 155.
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
Answer:
(B) abc file will go into pqr

Question 156.
Which command in Linux shows only one page on screen at a time ?
(A) page
(B) more
(C) /p
(D) 1s page
Answer:
(B) more

Question 157.
Which key used to view information on next page by more command ?
(A) n
(B) b
(C) f
(D) p
Answer:
(C) f

Question 158.
Which key used to view information on previous page by more command ?
(A) n
(B) b
(C) f
(D) p
Answer:
(B) b

Question 159.
Which command will you give to view page-wise output of file Aarti ?
(A) more Aarti
(B) cat Aarti|more
(C) (A) or (B)
(D) cat aarti
Answer:
(C) (A) or (B)

Question 160.
Which command is used to compare two files ?
(A) cp
(B) comp
(C) cmp
(D) compile
Answer:
(C) emp

Question 161.
On which output tool does cmp command show its result ?
(A) root
(B) redirection
(C) standard
(D) administrator
Answer:
(C) standard

GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands

Question 162.
Which command undertakes extension of cmp command?
(A) compare
(B) different
(C) comp
(D) cliff
Answer:
(D) cliff

Question 163.
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
Answer:
(D) diff

Question 164.
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
Answer:
(A) <

Question 165.
Which sign shows the difference in second file given as argument by diff command ?
(A) <
(B) >
(C) _ _ _
(D) @
Answer:
(B) >

Question 166.
diff command shows difference between two files. Which sign is seen between those two files ?
(A) _ _ _
(B) _ _
(C) ____
(D) _ _ _ _
Answer:
(A) _ _ _

Question 167.
Give the full form of wc command.
(A) word count
(B) word calculation
(C) write calculator
(D) word command
Answer:
(A) word count

Question 168.
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
Answer:
(B) wc

Question 169.
How many options are there in Linux wc command ?
(A) 1
(B) 2
(C) 3
(D) 4
Answer:
(C) 3

GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands

Question 170.
Which of the following is wc command ?
(A) -1
(B) -c
(C) -w
(D) All of these
Answer:
(D) All of these

Question 171.
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) (A) or (B)
(D) wc lwc Aarti
Answer:
(C) (A) or (B)

Question 172.
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
Note : Whatever the order you give, first line, then words and then letters will be shown.
Answer:
(D) 20 60 150

Question 173.
In 1s-1 command what does 1 mean ?
(A) list
(B) long list
(C) local list
(D) large list
Answer:
(B) long list

Question 174.
In output of command ls-1 what does the first letter seen indicate ?
(A) Information Right
(B) Object
(C) Group
(D) File or Directory
Answer:
(D) File or Directory

Question 175.
Which letter indicates file in the output of ls-1 command ?
(A) d
(B) x
(C) –
(D) r
Answer:
(C) –

Question 176.
Which letter seen in 1s-1 output indicates directory ?
(A) d
(B) x
(C) –
(D) w
Answer:
(A) d

Question 177.
How many types of permissions can be granted to Linux file or directory ?
(A) 1
(B) 2
(C) 3
(D) 4
Answer:
(C) 3

GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands

Question 178.
Which sign is seen when no permission is granted in Linux file or directory ?
(A) #
(B) $
(C) –
(D) *
Answer:
(C) –

Question 179.
Who is file owner in Linux file ?
(A) Linus Torwaldz
(B) Maker of File
(C) Kernel
(D) Administrator
Answer:
(B) Maker of File

Question 180.
What does letter ‘w’ for giving permission to file indicate ?
(A) Permission to write file
(B) Permission to delete file
(C) (A) or (C)
(D) Permission to over-write
Answer:
(C) (A) or (C)

Question 181.
Which place number indicates permission granted to group ?
(A) 456
(B) 567
(C) 789
(D) 123
Answer:
(B) 567

Question 182.
Which number system do we use to indicate permission through form of numbers ?
(A) Hexa
(B) Binary
(C) Decimal
(D) Octel
Answer:
(D) Octel

Question 183.
In eight digit system what permission does 3 give ?
(A) Reading only
(B) Reading and Executing
(C) Writing and Executing
(D) Reading and Writing
Answer:
(C) Writing and Executing

Question 184.
Which number will be used in eight-digit system to grant write only permission ?
(A) 4
(B) 2
(C) 1
(D) 7
Answer:
(B) 2

Question 185.
Which command is used to change permission about use of any file ?
(A) chgmode
(B) change
(C) chmode
(D) chmod
Answer:
(D) chmod

Question 186.
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
Answer:
(B) Change mode operation

GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands

Question 187.
What does u mean in ugo ?
(A) ubuntu
(B) use
(C) user
(D) unique
Answer:
(C) user

Question 188.
What does g mean in ugo ?
(A) grater then
(B) group
(C) ground
(D) good
Answer:
(B) group

Question 189.
What does o mean in ugo ?
(A) open
(B) owner
(C) other
(D) optional
Answer:
(C) other

Question 190.
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-
Answer:
(D) -rw- – – – rw-

Question 191.
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
Answer:
(C) chmod u+wx

Question 192.
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
Answer:
(C) – – -xr-xrwx

Question 193.
What is used in Linux as standard input device ?
(A) Mouse
(B) Keyboard
(C) Joysick
(D) Pencil
Answer:
(B) Keyboard

Question 194.
What is used in Linux as standard output device ?
(A) Monitor
(B) Plotter
(C) Router
(D) Mouse
Answer:
(A) Monitor

GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands

Question 195.
Which of the following sign indicates output redirection ?
GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands 1
Answer:
GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands 2

Question 196.
Which of the following sign tells Linux to accept input not from keyboard but from some other location ?
GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands 1
Answer:
GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands 7

Question 197.
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
Answer:
(B) wc -1 Kumar.txt and wc-1 < Kumar.txt

Question 198.
From where is input taken in wc-w marisha.txt command ?
(A) marisha.txt
(B) keyboard
(C) wc-w
(D) wc
Answer:
(A) marisha.txt

Question 199.
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
Answer:
(B) ls > book

Question 200.
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
Answer:
(B) File output calendar will be seen on cal command

Question 201.
Which facility is there in Linux to join one command with another ?
(A) Joint
(B) Marge
(C) Connect
(D) Piping
Answer:
(D) Piping

GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands

Question 202.
Which of the following is called pipe symbol ?
(A) |
(B) ||
(C) &&
(D) &
Answer:
(A) |

Question 203.
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
Answer:
(C) ls | wc -1

Question 204.
Which of the following is not a redirection sign ?
(A) >
(B) <
(C) *
(D) >>
Answer:
(C) *

Question 205.
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
Answer:
(A) ls, wc

Question 206.
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)
Answer:
(D) Both (A) and (B)

Question 207.
Which of the following facility is helpful in joining command with file ?
(A) Redirection
(B) Piping
(C) Filter
(D) Mount
Answer:
(B) Piping

Question 208.
Which filters are available in Linux ?
(A) head and tail
(B) cut and paste
(C) sort and tr
(D) All of these
Answer:
(D) All of these

Question 209.
Which sign is used in upper or opening lines of file ?
(A) upper
(B) head
(C) top
(D) title
Answer:
(B) head

GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands

Question 210.
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
Answer:
(B) First ten

Question 211.
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
Answer:
(D) head-3kumar.txt

Question 212.
Which filter us used to show the last lines of file ?
(A) Last
(B) Lower
(C) Bottom
(D) Tail
Answer:
(D) Tail

Question 213.
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
Answer:
(B) Last ten

Question 214.
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
Answer:
(B) tail

Question 215.
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
Note : It is correct according to textbook. But only last ten lines are shown.
Answer:
(A) tail +8 Kumar.txt

Question 216.
Wflhich option of cut command is used to cut a specific letter from every line ?
(A) -c
(B) -d
(C) -f
(D) -l
Answer:
(A) -c

Question 217.
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)
Answer:
(D) Both (B) and (C)

GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands

Question 218.
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
Answer:
(B) First Five Letters

Question 219.
Which option of cut command is useful for » lines of specific length ?
(A) -af
(B) -l
(C) -d
(D) -c
Answer:
(D) -c

Question 220.
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
Answer:
(C) delimiter

Question 221.
Which option is used with cut command to show column number in file ?
(A) -c
(B) -f
(C) -d
(D) -r
Answer:
(B) -f

Question 222.
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
Answer:
(D) cut -d “,” -f 2, 5- student

Question 223.
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
Answer:
(C) Will go into first 2 field book.txt file

Question 224.
What is the first details of 1s-1 output ?
(A) Permission
(B) Size (bytes)
(C) Date
(D) Time
Answer:
(A) Permission

Question 225.
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
Answer:
(A) ls -l | cut -d “ ” -f -1

Question 226.
Which command is used to combine specific information of two files ?
(A) cut
(B) cat
(C) paste
(D) merge
Answer:
(C) paste

Question 227.
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)
Answer:
(D) Both (A) and (B)

GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands

Question 228.
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
Answer:
(D) writing of file 2 will be copied on right side of file 1

Question 229.
Which command is used to organize details in ascending or descending order ?
(A) Decending
(B) Sort
(C) Ascending
(D) Grep
Answer:
(B) Sort

Question 230.
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
Answer:
(C) cut

Question 231.
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
Answer:
(C) Blanks, numbers, capital letters, small letters

Question 232.
Which option is used with sort command to arrange data in descending order ?
(A) -d
(B) -r
(C) -a
(D) -v
Answer:
(B) -r

Question 233.
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)
Answer:
(B) cut -d “,” -f 7 Student | Sort

Question 234.
Which of the following is not filter ?
(A) Grep
(B) Uniq
(C) Both (A) and (B)
(D) Move
Answer:
(D) Move

Question 235.
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
Answer:
(B) paste Tmep1-Temp2

GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands

Question 236.
How are commands to obtain data from file – made in Linux known ?
(A) Filter
(B) Search
(C) File
(D) Fill
Answer:
(A) Filter

Question 237.
How many filters of Linux are discussed in the book ?
(A) 4
(B) 6
(C) 8
(D) 10
Answer:
(B) 6

Question 238.
Which of the following command makes efficient use of different letters in a line ?
(A) grep
(B) paste
(C) tr
(D) cut
Answer:
(C) tr

Question 239.
State the full form of tr.
(A) translate
(B) trim
(C) transfer
(D) (A) or (B)
Answer:
(D) (A) or (B)

Question 240.
Which of the following command translates a sentence or pattern from one type to another ?
(A) uniq
(B) tr
(C) sort
(D) grep
Answer:
(B) tr

Question 241.
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 ‘[:]’'[#]’
Answer:
(D) cut Kumar | tr-s ‘[:]’'[#]’

Question 242.
Which option is used with tr command ?
(A) -d
(B) -s
(C) -f
(D) -v
Answer:
(B) -s

Question 243.
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
Answer:
(B) tr – s

GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands

Question 244.
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]’
Answer:
(D) cat Chintan | tr ‘[a-z]’ ‘[A-Z]’

Question 245.
Which is Linux command for showing from file the line with some specific word ?
(A) search
(B) seek
(C) find
(D) grep
Answer:
(D) grep

Question 246.
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
Answer:
(C) search globally for a regular expression

Question 247.
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
Answer:
(B) Universal search of a specific equation

Question 248.
How can grep be used ?
(A) Regular data cluster
(B) As filter
(C) To look into file
(D) All of these
Answer:
(D) All of these

Question 249.
Which option is used to ignore upper case or lower case while using grep command ?
(A) -v
(B) -i
(C) -o
(D) -vc
Answer:
(B) -i

Question 250.
Which option is used to view lines other than those with a specific pattern ?
(A) -l
(B) -n
(C) -w
(D) -v
Answer:
(D) -v

GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands

Question 251.
What does searched number without showing writing indicate ?
(A) -i
(B) -cn
(C) -c
(D) -o
Answer:
(C) -c

Question 252.
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
Answer:
(B) Shows only searched words

Question 253.
In which coloured output are the words searched through grep command shown ?
(A) Violet
(B) Yellow
(C) Green
(D) Red
Answer:
(D) Red

Question 254.
Which command is used to know path of file or directory ?
(A) Find
(B) Search
(C) Run
(D) Properties
Answer:
(A) Find

Question 255.
File named Vidya is given below. From it show its result.
101 : Shubh : MCA: Law garden
102 : Labh : BCA : Paldi
103 : Aarti : MCA : Ambawadi
What will be selected on the basis of above file to show only name and area ?
(A) cut -c 2, 4 Vidya
(B) cut -d “,”-f 2, 4 Vidya
(C) cut -f“:”-d 2-4 Vidya
(D) cut -d -f 2-4 Vidya
Answer:
(B) cut -d “,”-f 2, 4 Vidya

Question 256.
What does command grep-icv labh vidya show?
(A) 1
(B) labh
(C) 3
(D) 102 : labh : BCA : Paldi
Answer:
(C) 3

Question 257.
What does command grep -I MCA Vidya show ?
(A) MCA
(B) 2
(C) Vidya
(D) Error message
Answer:
(C) Vidya

GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands

Question 258.
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
Answer:
(C) cut -d -f 4 Vidya | sort -r

Question 259.
Which command is used to locate the place of „ file or directory made ?
(A) Search
(B) Find
(C) Diff
(D) Show
Answer:
(B) Find

Question 260.
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
Answer:
(D) All of these

Question 261.
Who/Which is only other entity having the same rights as those of administrator ?
(A) super admin
(B) skype
(C) sudo
(D) super user
Answer:
(D) super user

Question 262.
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
Answer:
(C) sudo

Question 263.
Which command is used to make a new user on system ?
(A) admin
(B) adduser
(C) addgroup
(D) adduname
Answer:
(B) adduser

Question 264.
Which command is used to see the list of users logged in system ?
(A) who
(B) whoami
(C) wholist
(D) whom
Answer:
(A) who

GSEB Std 11 Computer MCQ Answers Ch 6 Basic Ubuntu Linux Commands

Question 265.
Which command adds a new group to divide users in a group ?
(A) addpart
(B) deluser
(C) adduser
(D) addgroup
Answer:
(D) addgroup

Question 266.
Which command is used to delete any user from system ?
(A) delgroup
(B) delpart
(C) deluser
(D) delteam
Answer:
(C) deluser

Question 267.
Which command is used remove entire group from system ?
(A) delgroup
(B) delpart
(C) deluser
(D) delteam
Answer:
(A) delgroup

Leave a Comment

Your email address will not be published. Required fields are marked *