Q31. - (Topic 3) 

In the vi editor, which of the following commands will copy the current line into the vi buffer? 

A. c 

B. cc 

C. 1c 

D. yy 

E. 1y 

Answer:


Q32. CORRECT TEXT - (Topic 2) 

Which world-writable directory should be placed on a separate partition in order to prevent users from being able to fill up the / filesystem? (Specify the full path to the directory.) 

Answer: /tmp, tmp, /var/tmp, /tmp/, /var/tmp/ 


Q33. - (Topic 3) 

Which of the following sequences in the vi editor saves the opened document and exits the editor? (Choose TWO correct answers.) 

A. esc ZZ 

B. ctrl :w! 

C. esc zz 

D. esc :wq! 

E. ctrl XX 

Answer: A,D 


Q34. - (Topic 2) 

Which function key is used to start Safe Mode in Windows NT? 

A. F10 

B. F8 

C. F6 

D. Windows NT does not support Safe Mode 

Answer:


Q35. - (Topic 2) 

Which of the following options is used in a GRUB Legacy configuration file to define the amount of time that the GRUB menu will be shown to the user? 

A. hidemenu 

B. splash 

C. timeout 

D. showmenu 

Answer:


Q36. - (Topic 4) 

Which of the following commands can be used to display the inode number of a given file? 

A. inode 

B. ls 

C. ln 

D. cp Answer: B 


Q37. CORRECT TEXT - (Topic 3) 

Which command displays a list of all background tasks running in the current shell? (Specify ONLY the command without any path or parameters.) 

Answer: jobs 


Q38. CORRECT TEXT - (Topic 3) 

Which command is used in a Linux environment to create a new directory? (Specify ONLY the command without any path or parameters.) 

Answer: mkdir, /usr/bin/mkdir 


Q39. - (Topic 3) 

When given the following command line. 

echo "foo bar" | tee bar | cat 

Which of the following output is created? 

A. cat 

B. foo bar 

C. tee bar 

D. bar 

E. foo 

Answer:


Q40. - (Topic 2) 

Which of the following commands can be used to download the RPM package kernel without installing it? 

A. yum download --no-install kernel 

B. yumdownloader kernel 

C. rpm --download --package kernel 

D. rpmdownload kernel 

Answer: