71. Which of the following is not a filter ? A. cat B. grep C. wc D. None of the above ✅ The correct answer is option D.
72. Which shell’s wild-cards is used to match a single character ? A. * B. ? C. [ijk] D. [!ijk] ✅ The correct answer is option B.
73. Which command is used to change protection mode of files starting with the string emp and ending with 1,2, or 3 ? A. chmod u+x emp[1-3] B. chmod 777 emp* C. chmod u+r ??? emp D. chmod 222 emp? ✅ The correct answer is option A.
74. What are the appropriate Hex codes for setting Linux swap and Linux native partition types in fdisk ? A. 82 and 83 B. 92 and 93 C. 63 and 64 D. 82 and 85 ✅ The correct answer is option A.
75. Which command is used to sort the lines of data in a file in alphabetical order ? A. sort B. sh C. st D. sort -r ✅ The correct answer is option A.
76. The command chmod 761 letter is equivalent to__________________? A. chmod 4=7, g = 6, o = 1 letter B. chmod a = 761 letter C. chmod u = rwx, g = rw, o = x letter D. chmod 167 letter ✅ The correct answer is option C.
77. Which command is used to display the top of the file ? A. cat B. head C. more D. grep ✅ The correct answer is option B.
78. The special shell variable $* is used________________? A. to exit status of ast command executed. B. to process number of the current shell C. to list the positional parameters D. to name the command being executed ✅ The correct answer is option C.
79. What command is used to query for a specific package with RPM ? A. rpm -q B. rpm -a C. rpm -d D. rpm -1 ✅ The correct answer is option A.
80. Which command is used to print a file ? A. print B. prn C. pg D. lp ✅ The correct answer is option D.