<<

Unit-6 11EM Basic Ubuntu

(1) Which tool is needed to create multimedia presentation using building blocks? a) window b) Term window ) Terminal window d) Term window (2) Which window provides the look and response of a dedicated text monitor a graphical display? a) Term window b) Terminal window c) Term shell window d) Test window (3) To open a terminal window, select ______. a) Start/ Accessories/ Terminal b) Application/ Accessories /Term window c) Application/ Terminal window d) Applications / Accessories / Terminal (4) To open a terminal window, press ______. a) Ctrl + Alt + t b) Ctrl + Alt + p c) Alt + Ctrl + e d) Ctrl + Alt + k (5) ______types of interfaces are important. a) Command & Graphical b) command & c)Graphical & user d) Graphical & folder (6) What is the full form of CLI? a) Command line interline b) command line interface c)Command line interaction d) command line interchange (7) What is the full form of GUI? a) Graphical used interface b) Graphical user interchange c) Graphical user interface d) Graphical user interface (8) Which approach, allows us to access the real power of Linux with great understanding, uniformity and efficiency ? a) Command line interface b) Graphical user interface c) Both (a) & (b) d) none of these (9) In Linux, $ and # symbols are known as ______. a) Command line b) command interface c) command user d) command prompt (10) In command prompt, the first word in the string of character is ______. a) Password b) username c) directory name d) all of these (11) In command prompt, the first word in the string of characters is username followed by the symbol ______. a) # b) @ c) ! d) $ (12) Home directory represented by a ______symbol. a) # b) ~ c) ! d) $ (13) ______is a program that accomplishes certain task. a) Algorithm b) shell c) Flowchart d) commands (14) ______is a user program or an environment provided for user interaction. a) Commands b) Graphical c) shell d) Algorithm (15) Which of the following is a command language interpreter ? a) algorithm b) shell c) Flow chart d) command (16) Command language interpreter shell performs ______. a) Accept / issues command b) understands command c) talks to the kernel to execute it d) all of these (17) Which shells are available on command line interface ? a) Text b) character c) Numerous d) Financial (18) Which popular shells available on command line interface ? a) Bourne shell (sh) b) (csh and ) c) korn shell (ksh) & shell (sh) d) all of these (19) Which shell is the earliest shell used as command line interface ? a) C shell (csh and tcsh) b) Bourne shell (sh) c) Bash shell d) korn shell (ksh) (20) Which shell provides basic mechanisms for shell programming ? a) Korn shell (ksh) b) Bash shell (sh) c) Bourne shell (sh) d) C shell (csh and tcsh) (21) Which shell allows us to a program based solely on commands ? a) Bourne shell (sh) b) Korn shell (ksh) c) C shell (csh and tcsh) d) Bash shell (sh) (22) What is the acronym of Bourne shell ? a) Ksh b) sh c) csh d) tcsh (23) What is the acronym of C shell ? a) tcsh b) csh c) sh d) ksh (24) what is the acronym of C shell ? a) Csh b) tcsh c) Both (a) and (b) d) sh

(25) What is the acronym of Base shell ? a) tcsh b) sh c) csh d) ksh (26) which shell was developed to use C programming syntax. a) Korn shell (ksh) b) Bash shell (sh) c) Bourne shell (sh) d) C shell (csh) (27) Shell programming can be done using ______programming syntax . a) C b) HTML c) java script d) all of these (28) Which is the newer version of csh ? a) bcsh b) kchs c) tchs d) dchs (29) which shell provides additional programming features to add the limitations of csh ? a) Ksh b) tchs c) sh d) pdksh (30) Which shell was developed to combine the features of the sh and csh ? a) Korn shell (ksh) b) Bash shell (sh) c) Bourne shell (sh) d) C shell (csh) (31) Which is the newer version of bourne shell ? a) Bosh shell b) C shell c) Korn shell d) Bash shell (32)Bash shell allows ______. a) Account configuration b) For easier and sophisticated command c) Shell scripted command d) All of these (33) Which is considered to be the standard shell for Linux systems ? a) Bash shell b) Korn shell c) C shell d) Bourne shell (34) Which shell is commonly used and available on all Linux ? a) Bourne shell b) C shell c) Korn shell d) Bash shell (35) ______is to execute it and display result as per given instruction. a) Kernel b) shell c) command d) Bash shell (36) Which command used to all available shells in system ? a) / etc / shell b) cat / etc /shells c) cat / atc / shell d) cat / atc / shells (37) Linux is ______sensitive. a) Case b) command c) user d) line (38) Linux operating system comes with certain ______. a) Algorithm b) program c) variable d) all of these (39) In Linux, the value of current default shell is stored in named ______. a) SHALL b) SHELL c) SHOW d) SOURCE (40) Which command is use to determining the default shell ? a) SHELL b) echo $SHELL c) echo $shell d) SHELL (41) which command used to display the value of any variable ? a) echo b) c) man d) cat (42) to return default shell, or press ______at the command prompt of new shell. a) Ctrl + d b) ctrl + p c) ctrl + s d) ctrl + r (43) The syntax of Linux commands consists of ______parts. a) Two b) three c) four d) five (44) What is the syntax of Linux commands ? a) Name b) options c) Argument d) All of these (45) In Linux, command name followed by necessary ______. a) Options b) arguments c) both a & c d) none of these (46)Which key execute the command in Linux ? a) ESC b) Enter c) Tab d) Ctrl + Enter (47) Option when present starts with a ______and are usually a single letter or a digit. a) # b) $ c) % d) - (48) Linux command can be classified into ______. a) 1 b) 2 c) 3 d) 4 (49) Linux command as ______or ______. a) Internal b) external c) (a) and (b) d) binary (50) The command that have a binary file explicitly stored either a) /sbin,/usr/sbin b) /usr/bin ,/bin c) /usr/local/bin d) All of these (51) Binary file are generally executed by the kernel and will generate a ______at the of execution. a) Binary id b) process id c) command id d) All of these

(52) Commands directly executed by the shell are called ______. a) Internal b) external c) (a) and (b) d) binary (53) Most of the command that we use in Linux are ______command. a) Internal b) external c) (a) and (b) d) binary (54) To know whether a command is internal or external we can use the ______command. a) Type b) cat c) d) (55) Which command is use to know internal or external we can use the ______command. a) Type info b) cat info c) mkdir info d) All of these (56) Which is the best way to start with learning Linux commands ? a) General purpose commands b) General property command b) General public commands d) Graphical user commands (57) By pressing ______key after typing first few letters of a command, shell automatically provides the remaining information a) Enter Key b) Shift Key c) Ctrl Key d) Tab key (58) Which command used to displays the calendar of any specific month or entire year ? a) calendar b) cale c) d) calc (59) which command displays the calendar of june 2013 ? a) Cal 2013 06 b) cal 06 2013 c) cal june 2013 d) cal 2013 june (60) Which command displays the calendar of entire year of 2013 ? a) Cal latest b) cal year c) cal 09 d) cal 2013 (61) Which command displays the entire year of 2013’s calendar view as single screen page a time ? a) cal 2013 | b) cal 2013 | display c) cal 2013 | view d) cal 2013 | show (62) which command takes input from the cal command in Linux ? a) Date b) more c) base d) sqrt (63) In Linux, which command displays current system date and time ? a) current b) now c) latest d) date (64) which command can be used with suitable format specification as arguments ? a) b) man c) current d) date (65) in date command, each format is preceded by ______symbol. a) + b) - c) % d) # (66) ______operator and a single character describing the format. a) + b) % c) $ d) # (67) in Linux, date command display only the current date in ______format. a) /mm/yy b) mm/dd/yyyy c) dd/mm/yyyy d) mm/dd/yy (68) which command displays only the current date ? a) date +%D b) date +d c) date + “$d” d) date +$d (69) Which command in Linux is a command line calculator performs ______. a) ac b) dc c) bc d) nc (70) in Linux, command line calculator performs ______. a) Number of scientific math functions b) conversions between . number system c) run programs d) all of these (71) Which type of math functions performs bc command ? a) Addition, subtraction b) multiplication, division, modulus c) exponents, sine, cosine, logarithm d) All of these (72) Which command used to find out the natural logarithm of 2013? a) l(2013) b) log(2013) c) nlog(2013) d) naturallog(2013) (73) which function allows user to set numbering system to use for input ? a) Inputbase b) iputbase c) ibase d) inbase (74) Which function allows user to set numbering system to use for output ? a) outbase b) obase c) outputbase d) oputbase (75) which function used to find out the square root of 9 ? a) s(9) b) sq(9) c) sqrt(9) d) sqroot (76) the importance of be calculator over graphical calculator ______. a) Speed b) flexibility c) power to perform math operation d) all of these (77) Which command used to return the command prompt ? a) Ctrl + d b) ctrl + e c) ctrl + c d) ctrl + r

(78) Which command used to display a message on the terminal ? a) echo b) each c) print d) shell (79) which command used to display value of variable. a) echo b) each c) print d) shell (80) which symbol represents a variable. a) $ b) @ c) ! d) * (81) Which command used along with other commands to give meaningful output ? a) echo b) each c) print d) shell (82) Back quotes available on key with ______sign. a)$ b) ~ c) ! d) * (83) Which command used to change the password of the current login account ? a) Password b) pword c) passwd d) psd (84) Which command used to change the password of other user of the system by specifying the nimesh(username) after the passwd ? a) password nimesh b) pword nimesh c) passwd nimesh d) passwd nimesh (85) Which command used to remove data on the screen? a) clear b) delete c) remove d) clear screen (86) Linux provide two inbuilt command namely ______and ______to assist the user while working on the command line interface. a) Help, get b) help, man c) help, assist d) get, man (87) Which is correct to get help on the command using linux online manuals ? a) mv --help b) mv --get c) mv help d) mv --helps (88) ______command gives us exhaustive information of a command and may run into multiple screen. a) man b) help c) --man d) --helps (89) Press ______key to scroll down the content. a) f b) shift c) Enter d) q (90) Which command activates manual corresponding to a specific command? a) Look b) Locate c) search d) man (91) Which key is used to take you to the command prompt? a) f b) shift c) Enter d) q (92) Which command is used to get small description of a command? a) whatis b) man c) helpr d) all of these (93) Which command is used to get one line explanation of the command and omits any additional information ? a) whatis b) man c) helpr d) all of these (94) In a situation when exact command is not known, ______command can be used. a) apropos b) man c) helpr d) all of these (95) represent an information entity, which can be used for variety of purpose ? a) folder b) command c) file d) all of these (96) In Linux, ______is a special type of file that contains files and other directories. a) folder b) directory c) file d) command (97) When user log on the system, Linux automatically places in which directory ? a) base b) right c) recent d) home (98) ______directory is created by the system when user account is opened. a) Home directory b) Base directory c) Recent directory d) working directory (99) ______is the default working directory at the time of log on in system variable. a) BASE b) POWER c) HOME d) MAIN (100)______path name is simply a sequence of directory names separated by slash. a) user b) Absolute c) Base d) Home (101)In absolute path name, directory names are separated by ______. a) \ b) | c) # d) / (102)Which type of information display an absolute path name ? a) file’s location with reference b) files’s location with detail c) file’s location with area d) file’s location with account (103)Which command used to display the current working directory ? a) pswd b) pword c) pwd d) passvvd (104)Directories in Linux can be created using ______command. a) b) mkdir c) makedir d) mdir

(105)Mkdir command can be followed with the names of the directories to be ______. a) modify b) edited c) group d) created (106)which command can be used to create a directory named nimesh ? a) mkdir nimesh b) mk nimesh c) dir nimesh d) md nimesh (107)to create multiple directory named nimesh, tanisi, dhatri, which commad can be used ? a) md nimesh tanisi dhatri b) mk nimesh tanisi dhatri c) mkdir nimesh tanisi dhatri d) dir nimeshtanisi dhatri (108)which command used to change directory ? a) cd b) cd .. c) change d) cdir (109)which command used to comeback to previous directory ? a) change b) cdir c) cd d) cd .. (110)in cd.. command, double dot (..) stands for the ______directory. a) child b) parent c) base d) main (111)if your current working directory is home/data/nimesh/dhatri and to change it to home directory, which command used ? a) cd .. b) cd ../../ c) cd ../../../ d) cd ../../../../ (112)which command used for change directory to /home/username/Desktop, from any current path ? a) cd ~/Desktop b) cd /Desktop c) cd */Desktop d) cd &/Desktop (113)which symbol refer to home directory of the user ? a) * b) / c) ~ d) & (114)which command is used to change directory to the root directory from any current path ? a) cd/ b) cd c) cd - d) cd .. (115)which command is used to change directory to the home directory from any current path? a) cd/ b) cd c) cd - d) cd .. (116)which command is used to change directory to the previously changed directory ? a) cd/ b) cd c) cd- d) cd .. (117)An empty directory can be deleted by using the command ______. a) b) c) delete d) remove all (118)To delete a non-empty directory with all its contents we can use the ______command. a) rmdir b) rm –all c) rm –r d) rm -d (119)In Linux, a file name can consist of up to ______characters. a) 64 b) 102 c) 144 d) 255 (120)Linux can practically consist of any ASCII character except the ______character. a) backslash b) Null c) both a and b d) none of these (121)What is the full form of ASCII ? a) American standard Code for information interchange b) American standard Course for information interchange c) American standard Code for interchange information d) American standard Code for international information (122)______types of character are permitted for file name. a) Any control character b) Non-printable character c) both a and b d) none of these (123)______is the valid file names in Linux. a) .file1 & file2. b) ^file^-++ & -{} () c) test$# & ab.cd.ef d) all of these (124)Which character recommended for file name ? a) alphabetic character b) numerals & period (.) c) hyphen (-) & underscore (_) d) All of these (125)Linux is ______case sensitive. a) incorrectly b) wrongly c) strictly d) inexactly (126)Which command used to display the contents of a small file on the terminal ? a) cat b) cal c) cel d) can (127)What is the use of cat command ? a) create a file b) concatenate two files c) appending contents to a file d) all of these (128)In Linux, which key indicates the end of file character ? a) Ctrl + c b) Ctrl+ d c) Ctrl + x d) Ctrl + a (129)Which command used to create a file named nms ? a) cal > nms b) cet > nms c) can> nms d) cat> nms (130)In Linux, cat > nimesh command, > symbol is known as ______operator. a) b) relational c) logical d) parameter (131)Which command used to append content in an existing file ? a) cal >> nms b) cet >> nms c) can >> nms d) cat>> nms (132)Which command used to create file3 that contains the text of both the files namely file1 and file2 ? a) cat file1 file2>file3 b) cat file1 file2 file3 c) cat > file1 file2 file3 d) cat file1> file2 file3 (133)The ______command is used to delete/remove one or more files. a) rm b) rmdir c) delete d) remove (134)Which command will be used to delete files test1, test2, test3 ? a) rm test1 test2 test3 b) rm test1, test2, test3 c) m test1 test2 test3 d) m test1, test2, test3 (135)Which command will be used to delete all the three files test1, test2, test3 as argument ? a) rm test ? b) rm test* c) rm [test] d) rm [test1-test3] (136)Which command will be used to delete all the files from the current directory ? a) rm ? b) rm ?* c) rm [*1 d) rm * (137)Which command is used to delete file using interactive mode and the user will be asked to verify the delete operation? a) rm –i filename b) rm –r filename c) rm –r * d) rm -rf (138)Which command is used to delete directory and along with all its contents ? a) rm –i filename b) rm –r c) rm –r * d) rm –rf * (139)Which command is used to delete all contents within the current directory ? a) rm –i filename b) rm –r filename c) rm –r * d) rm -rf (140)Which command is used to deletes the contents even if it is write protected ? a) rm –i filename b) rm –r filename c) rm –r* d) rm –rf * (141)______is a wildcard character. a) * b) / c) - d) % (142)The ______command gives us the list of the contents in the current or a specified directory. a) rm b) c) dir d) list (143)______symbol is treated as hidden file. a) . b) .. c) / d) * (144)______command used to create hidden file. a) cat>.intro b) cat>intro c) cat>*intro d) cat>-intro (145)______entries are automatically created in the directory whenever the directory is created. a) 4 b) 3 c) 2 (. and ..) d) 6 (146)Which command is use to lists the files that are in user’s home directory ? a) ls ~ b) ls [svics]* c) ls [n-s][5-7]?? d) ls -r (147)Which command is use to lists all the files in which the first character of the filename matches with any of the given alphabets within the square brackets the remaining part of file name can contain any valid ASCII character? a) ls ~ b) ls [svics]* c) ls [n-s][5-7]?? d) ls -r (148)Which command is use to lists all file with 4 character filename with the condition that the first character is in the range n to s, second character is in the range of 5 to 7, whereas the third and fourth characters are any valid ASCII character? a) ls ~ b) ls [svics]* c) ls [n-s][5-7]?? d) ls -r (149)Which command is use to list the files by sorting them in reverse order ? a) ls ~ b) ls [svics]* c) ls [n-s][5-7]?? d) ls -r (150)Which command is use to list the file sorting them based on their modification time ? a) ls -t b) ls -F c) ls -l d) ls -r (151)Which command is use to list the files and mark all executable file with * and directories with / symbol ? a) ls -t b) ls -F c) ls -l d) ls -r (152)Which command is use to list one per line ? a) ls -t b) ls -F c) ls -l d) ls -r (153)Which wildcard characters used for matching a pattern as per requirement ? a) * b) ? c) = d) (a) and (b) (154)Which wildcard use to match any number of characters including none ? a) * b) ? c) [abc] d) [!abc] (155)Which wildcard characters used for a single character ? a) * b) ? c) [abc] d) [!abc] (156)Which wildcard characters used for a single character either a, b or c ? a) [ab]c b) [abcd] c) [abc] d) [!abc] (157)Which wildcard characters used for match single character other than a, b or c ? a) * b) ? c) [abc] d) [!abc] (158)Which wildcard match any single character within the ASCII range of the characters p to s. a) [p-s] b) [!p-s] c) [p*s] d) [p#s] (159)Which wildcard use a single character that is not within the ASCII range of the characters p to s ? a) [p-s] b) [!p-s] c) [p*s] d) [p#s] (160)Which command will be used to create a copy of file called nimesh with new file shelat ? a) copy shelat nimesh b) copy nimesh shelat c) shelat nimesh d) cp nimesh shelat (161)Which command will be used to copy files test1, test2, test3 to the directory named nimesh ? a) cp nimesh test1 test2 test3 b) cp nimesh test1, test2, test3 c) cp test1 test2 test3 nimesh d) copy test1 test2 test3 nimesh (162)Which command copies a file or group of files? a) cp b) copy c) photocopy d) duplicate (163)cp command creates an exact image of a file on the disk with a ______file name. a) same b) special c) different d) extra (164)cp command needs ______arguments. a) two b) three c) four d) five (165)in cp command, which is the first argument ? a) destination file b) source file c) (a) or (b) d) none of these (166)in cp command, which is the second argument ? a) destination file b) source file c) (a) or (b) d) none of these (167)which command will be used to rename a file or directory ? a) rename b) mv c) move d) rd (168)To rename the me nimesh to shelat, which command will be used ? a) mv nimesh shelat b) mv shelat dhatri c) move nimesh shelat d) m nimesh dhatri (169)Which command will be used to move files test1, test2,test3 to the directory named nimesh ? a) mv test1, test2, test3 nimesh b) move test1 test2 test3 nimesh c) mv test1 test2 test3 nimesh d) mv tejas test2 test3 nimesh (170)Which command will be used to rename a directory named Ahmedabad to Amdavad ? a) inv Ahmedabad, Amdavad b) mv Ahmedabad Amdavad c) mv Amdavad ,Ahmedabad d) mv Amdavad Ahmedabad (171)Which command is used to view one page contents on the screen at a time ? a) more b) move c) page d) view (172)The more command can be used to display the contents of file ______. a) width wise b) name wise c) type wise d)page wise (173)Which key is used to view the previous pages in more command ? a) f b) b c) p d) m (174)Which key is used to view the next pages in more command ? a) m b) p c) b d) f (175)To view the file nimesh.txt as page wise, which command will be used ? a) more nimesh.txt b) move nimesh.txt c) page nimesh.txt d) pagewise nimesh.txt (176)Which command is used to compares two files of any type and writes the result to the standard output ? a) diff b) c) more d) compare (177)The extension of the cmp command is the ______command. a) diff b) cmp c) more d) compare (178)The ______command compares two files and displays the contents of both files indicating where the difference lies. a) diff b) cmp c) more d) compare (179)Which command will be used to count the number of lines, words and characters in the specified file or files? a) wf b) wa c) d) wl (180)wc command comes with ______options. a) two b) three c) four d) five (181)with which options wc command is used ? a) -l b) -w c) -c d) All of these (182)which option will be used for counting lines with wc command ? a) wc -I b) wc -c c) wc -a d) wc -w (183)which option wil be used for counting words with wc command ? a) wc -c b) wc -a c) wc -w d) wc -I (184)which option will be used for counting a character with wc command ? a) wc -a b) wc -c c) wc -I d) wc -w (185)to count the number of lines in file nimesh.txt, which command will be used ? a) wc -l nimesh.txt b) wc nimesh -l c) wc -l nimesh.txt d) wc -l / nimesh.txt (186)to count number of words in file nimesh.txt, which command will be used ? a) wc –w / nimesh.txt b) wc –w, nimesh.txt c) wc nimesh.txt –w d) wc –w nimesh.txt (187)To count number of character in file nimesh.txt, which command will be used ? a) wc –c, nimesh.txt b) wc –c nimesh.txt c) wc nimesh.txt / -w d) wc –w / nimesh.txt (188)Which command is equivalent to wc –l –w –c nimesh.txt ? a) wc –lwc, nimesh.txt b) wc –lwc / nimesh.txt c) wc –lwc nimesh.txt d) wc –l, -w, -c nimesh (189)An object can be categorized as a ______. a) regular file b) a directory c) process d) all of these (190)The character ______in the first column refer to a file. a) - b) * c) d d) all of these (191)The character ______in the first column refer to a directory. a) - b) * c) d d) all of these (192)An object in linux has ______permissions. a) 1 b) 2 c) 3 d) 4 (193)Which character option means to permit it to write the file ? a) w b) p c) x d) r (194)Which character option means to permit to execute the file ? a) p b) e c) x d) w (195)Which symbol will be used to any position when the user doesn’t have that particular permission ? a) asterisk (*) b) hyphen (-) c) question mark(?) d) (#) (196)The set of three characters after the file type show in column ______tells which permission the owner of the file has. a) 2 to 4 b) 5 to 7 c) 8 to 10 d) 11 to 13 (197)The set of three characters after the file type show in column ______tells which permission the group of the file has. a) 2 to 4 b) 5 to 7 c) 8 to 10 d) 11 to 13 (198)The set of three characters after the file type show in column ______tells which permission the other user or group the file has. a) 2 to 4 b) 5 to 7 c) 8 to 10 d) 11 to 13 (199)We use ______number system for representing permission as numeric value. a) octal b) decimal c) binary d) all of these (200)Which octal number allow no permission assigned ? a) 0 b) 1 c) 2 d) 3 (201)Which octal number allow only execute access ? a) 0 b) 1 c) 2 d) 3 (202)Which octal number allow only write access ? a) 0 b) 1 c) 2 d) 3 (203)Which octal number allow write and execute access ? a) 0 b) 1 c) 2 d) 3 (204)Which octal number allow only read access ? a) 4 b) 5 c) 6 d) 7 (205)Which octal number allow read and execute access ? a) 4 b) 5 c) 6 d) 7 (206)Which octal number allow read and write access ? a) 4 b) 5 c) 6 d) 7 (207)Which octal number allow everything ? a) 4 b) 5 c) 6 d) 7 (208)Which command used to change the permission of a file ? a) b) change c) permission d) command (209)To make nimesh.txt file into read only file, which command will be used ? a) chmod ugo-r nimesh.txt b) chmod ugo-o nimesh.txt c) chmod ugo-w nimesh.txt d) chmod vgo-w nimesh.txt (210)What is the meaning of ugo, in chmod ugo-w nimesh.txt permission command ? a) user, group, open b) user, group, owner c) user, group, operator d) user, group, option (211)Which command will be used to give nimesh.txt file write and execute permission ? a) chmod u+wx nimesh.txt b) chmod u+go nimesh.txt c) chmod u+xy nimesh.txt d) chmod v+vx nimesh.txt (212)Which sign is used to assign a permission ? a) * b) + c) - d) & (213)Which sign is used to remove permission ? a) * b) + c) - d) & (214)Linux considers ______as its standard input device. a) keyboard b) mouse c) scanner d) pen drive (215)Linux considers ______as its standard output device. a) printer b) plotter c) monitor d) speaker (216)If any command is executed in Linux, its input will be taken from the ______. a) keypad b) mouse c) Enter d) keyboard (217)If any command is executed in Linux, its output will be displayed on the a) speaker b) monitor c) plotter d) printer (218)______symbol implies redirection of output. a) > b) < c) >> d) << (219)______symbol implies redirection of input. a) > b) < c) >> d) << (220)Which symbol implies redirection of output telling Linux not to display output on the screen but put it somewhere else ? a) > b) < c) $ d) & (221)Which symbol implies redirection of input telling Linux not to accept the in from the keyboard but accept it from somewhere else ? a) & b) # c) < d) > (222)Which command is used to store the list of files present in current directory into a file ? a) ls < list b) ls > list c) ls << list d) ls >> list (223)Which facility of Linux helps in connecting commands with other command ? a) Execute b) Base c) Direction d) Piping (224)Using a pipe symbol (|) output of one command can be supplied as input for another command and this process is known as ______in Linux. a) direction b) jointing c) piping d) concoting (225)Which command accept data from standard inputs, manipulate it and write the results to standard output ? a) Filters b) Users c) writers d) Beginners (226)Linux comes with ______filters. a) & b) & c) & d) All of these (227)The ______command display the beginning lines of the file. a) title b) head c) body d) input (228)Which command will be used to display first ten lines of the nimesh.txt file ? a) nimesh.txt head b) head nimesh.txt ten c) head nimesh.txt d) head nimesh.txt+10 (229)Which command will be used to display first three lines of the nimesh.txt file ? a) head +3 nimesh.txt b) head -3 nimesh.txt c) head nimesh.txt +3 d) head nimesh.txt -3 (230)Which command will be used to display the lines from the end of file ? a) tail b) end c) last d) final (231)The tail command will be used to display last ______lines by default. a) eight b) nine c) ten d) eleven (232)Which command will be used to find last ten lines from the nimesh.txt file ? a) tail nimesh.txt -10 b) tail nimesh.txt +10 c) tail | nimesh.txt d) tail nimesh.txt (233)Which command will be used to display last five line of the nimesh.txt file ? a) tail -5 nimesh.txt b) tail +5 nimesh.txt c) tail nimesh.txt -5 d) tail nimesh.txt +5 (234)Which command will be used to display lines from 5th line onwards ? a) tail -5 nimesh.txt b) tail +5 nimesh.txt c) tail nimesh.txt -5 d) tail nimesh.txt +5 (235)Which command will be used to extract specific characters from each line of the file ? a) cut b) copy c) paste d) connect (236)Which command will be used to extract columns from 20 onwards of nimesh.txt file ? a) cut +c 20- nimesh.txt b) cut -c 20+ nimesh.txt c) cut -c 20- nimesh.txt d) cut +c 20+ nimesh.txt (237)Which command will be used to extract characters till third character from beginning of the line ? a) cut +c -3 filename b) cut -c -3 filename c) cut -c +3 filename d) cut +c +3 filename (238)Which option is useful for fixed length fields ? a) –c b) –d c) –e d) -f (239)Which option is useful to specify field numbers to be displayed ? a) –c b) –d c) –e d) -f (240)Which option is useful to specify delimiter appearing in a command ? a) –c b) –d c) –e d) -f (241)Which command is a way of pasting two file together ? a) paste b) joint c) dual d) command (242)Which command will be used to order the data in ascending or descending sequence ? a) arrange b) sequence c) sort d) type (243)By default, sort command reorders lines in ______collating sequence. a) ascending b) descending c)uppercase d) ASCII (244)In ASCII, sorting first applies on ______. a) whitespace, numerals, uppercase, lowercase b) whitespace, uppercase, lowercase , numerals c) numerals , uppercase, lowercase , whitespace d) whitespace, numerals, lowercase , uppercase (245)The ______order is applied only at the time of displaying the output. a) sort b) cut c) paste d) head (246)Which command will be used to translate string or patterns from one set of characters to another ? a) transfer b) transition c) tracking d) translate () (247)The ______option squeezes the additional space visible in the actual file. a) –r b) –s c) –p d) -a (248)Which command comes from a command in the Unix text editor --, which is used to search a pattern ? a) b) gerp c) grop d) grpo (249)What is the use of grep command in Linux ? a) whole host of tricks & magic b) as a or to look inside files c) as regular expressions d) all of these (250)Which command will be used to display the details of student named “SHELAT” from the nimesh.txt file ? a) grpe “SHELAT” nimesh.txt b) grep “SHELAT” nimesh.txt c) grop “SHELAT” nimesh.txt d) greep “SHELAT” nimesh.txt (251)In GUI applications, use ______key combination to find keyword within files. a) ctrl + f b) ctrl + h c) ctrl + s d) ctrl + q (252)The string that we are looking for is show in ______line color. a) red b) green c) white d) yellow (253)It is compulsory to enclose the keyword in double quotes. Yes or No ? a) yes b) no c) (a) and (b) d) none of these (254)Which option used to return only number of matches without quoting the text ? a) -c b) -i c) -l d) -n (255)Which option used to ignore case while searching? a) -c b) -i c) -l d) -n (256)Which option used to return the only file names containing a match without quoting the text. a) -c b) -i c) -l d) -n (257)Which option used to return the line number of matched text as well as the text itself ? a) -c b) -i c) -l d) -n (258)Which option used to return all the lines that do not match the text ? a) -v b) -w c) -o d) -n (259)Which option used to return lines which display only whole words ? a) -v b) -w c) -o d) -n (260)Which option used to shows only the matched string ? a) -v b) -w c) -o d) -n (261)We want detail about the person who are staying in society that has ‘Jal’ as it’s starting and ‘I’ as its end, then which expression can be used ? a) grep “Jal.*I” address.txt b) grep “Jal.I” address.txt c) grep “*I.Jal” address.txt d) grep “Jal.I” address.txt (262)A is normally followed by one of several ______operators. a) regular b) repetition c) not regular d) all of these

(263)Which repetition operator is used if the preceding item is optional and matched at most once ? a) ? b) * c) + d) {n} (264)Which repetition operator is used if the preceding item is optional and matched zero or more item? a) ? b) * c) + d) {n} (265)Which repetition operator is used if the preceding item will be matched one or more times ? a) ? b) * c) + d) {n} (266)Which repetition operator is used if the preceding item is matched exactly n number of times ? a) ? b) * c) + d) {n} (267)Which repetition operator is used if the preceding item is matched n or more number of times. a) ? b) * c) + d) {n,} (268)Which command helps to find the location of the file or a directory created earlier ? a) find b) search c) name d) all of these (269)When ______command is used without any other arguments displays the pathname of all the files and directories in the present directory and all its subdirectories. a) find b) search c) name d) all of these (270)Which command is used to search all directory and sub directories. a) find / -type d b) find .mtime –l c) find . –mtime +1 d) find -executable (271)Which command is used to search object modified within the past 24 hours ? a) find / -type d b) find .mtime –l c) find . –mtime +1 d) find -executable (272)Which command is used to search object modified more than 48 hours ago ? a) find / -type d b) find .mtime –l c) find . –mtime +1 d) find -executable (273)Which command is used to search for the executable file in current directory ? a) find / -type d b) find .mtime –l c) find . –mtime +1 d) find -executable (274)The administrative privileges are available to only a user know as ______. a) superuser b) super teacher c) super root d) all of these (275)To use superuser account when using the terminal, we need to add ______as a prefix to the command. a) khado b) pado c) sudo d) mado (276)Which command used to create a new user on the system ? a) adduser b) passwd c) who d) addgroup (277)Which command is used to change the password of any valid user of the system ? a) adduser b) passwd c) who d) addgroup (278)Which command is used to display the list of all the user that are presently logged into the machine ? a) adduser b) password c) who d) addgroup (279)Which command is used to add a new group ? a) adduser b) passwd c) who d) addgroup (280)Which command is used to delete a user from the system ? a) adduser b) deluser c) who d) addgroup (281)Which command is used to deletes a group from the system ? a) adduser b) passwd c) who d) delgroup (282)Which of the following command is used to count the total number of lines, words, and characters contained in a file ? a) countw b) wc c) wcount d) wordcount (283)The command chmod 761 letter is equivalent to which of the following access rights ? a) chmod u=7, g=6, o=1 b) chmod a=761 c) schmod u=rws, g=rw, o= x d) chmod 167 (284)Which of the following refers to the maximum length of a filename in Linux ? a) 8 b) 10 c) 200 d) 255 (285)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 (286)Which of the following refers to the minimum arguments of cp command ? a) one b) two c) three d) none (287)Which of the following command is used to view one page content on the screen at a time ? a) More b) more c) PAGE d) page (288)Which of the following syntax is correct to assign a read permission on a user file ? a) chmod r filename b) chmod u+r filename c) chmod filename r d) chmod filename u+r