171. The cp command uses___________________? A. standard input file B. standard output file C. both input and output file D. neither standard input nor standard output file ✅ The correct answer is option D.
172. The command used to compare the files is known as_________________? A. comp B. cmp C. do D. ccp ✅ The correct answer is option D.
173. Layer one of the OSI model is_______________________? A. network layer B. transport layer C. physical layer D. physical layer ✅ The correct answer is option D.
174. What command is used to change the working directory ? A. cdir B. chdir C. changedir D. cd ✅ The correct answer is option D.
175. Which of the following NIS clients returns the name of the NIS server used by the NIS client ? A. ypwhich B. ypbind C. ypcat D. yppoll ✅ The correct answer is option A.
176. Which of the following commands is used to copy a file wb from the programs directory into a file called wbx in the misc directory ? A. copy programs/wb misc/wbx B. cp programs/wb misc/wbx C. tar programs/wb misc/wbx D. copy a:programs/wb b:misc/wbx ✅ The correct answer is option B.
177. Which of the following commands is used to identify the type of file by context ? A. ls B. cat C. file D. more ✅ The correct answer is option C.
178. Which command is used to display all the lines with the string ‘sales’ from the file empl.lst ? A. cut sales empl.lst B. /sales > empl.lst C. grep sales empl.lst D. cat | /sales > empl.lst ✅ The correct answer is option C.
179. Which command is used to sort the lines of data in a file in reverse order__________________? A. sort B. sh C. st D. sort -r ✅ The correct answer is option D.
180. Which command will be used with vi editor to append text at end of line ? A. A B. a C. i D. I ✅ The correct answer is option A.