Q51. - (Topic 3) 

What is the effect of the egrep command when the -v option is used? 

A. It enables color to highlight matching parts. 

B. It only outputs non-matching lines. 

C. It shows the command's version information. 

D. It changes the output order showing the last matching line first. 

Answer:


Q52. - (Topic 3) 

A user accidentally created the subdirectory dir in his home directory. Which of the following commands will remove that directory? 

A. rmdir '~/dir' 

B. rmdir "~/dir" 

C. rmdir ~/'dir' 

D. rmdir ~/dir 

E. rmdir ~/\dir 

Answer:


Q53. - (Topic 1) 

What information can the lspci command display about the system hardware? (Choose THREE correct answers.) 

A. Device IRQ settings 

B. PCI bus speed 

C. System battery type 

D. Device vendor identification 

E. Ethernet MAC address 

Answer: A,B,D 


Q54. - (Topic 3) 

Which of the following commands displays the contents of a gzip compressed tar archive? 

A. gzip archive.tgz | tar xvf -

B. tar ztf archive.tgz 

C. gzip -d archive.tgz | tar tvf -

D. tar cf archive.tgz 

Answer:


Q55. - (Topic 2) 

Which file should be edited to select the network locations from which Debian installation package files are loaded? 

A. /etc/dpkg/dpkg.cfg 

B. /etc/apt/apt.conf 

C. /etc/apt/apt.conf.d 

D. /etc/apt/sources.list 

E. /etc/dpkg/dselect.cfg 

Answer:


Q56. - (Topic 3) 

What is the output of the following command? 

echo "Hello World" | tr -d aieou 

A. Hello World 

B. eoo 

C. Hll Wrld 

D. eoo Hll Wrld 

Answer:


Q57. - (Topic 3) 

In compliance with the FHS, in which of the directories are man pages found? 

A. /usr/share/man 

B. /opt/man 

C. /usr/doc/ 

D. /var/pkg/man 

E. /var/man 

Answer:


Q58. CORRECT TEXT - (Topic 2) 

Which command will disable swapping on a device? (Specify ONLY the command without any path or parameters.) 

Answer: swapoff, /sbin/swapoff 


Q59. - (Topic 4) 

How many fields are in a syntactically correct line of /etc/fstab? 

A. 3 

B. 4 

C. 5 

D. 6 

E. 7 

Answer:


Q60. - (Topic 3) 

Which of the following files, located in the user home directory, is used to store the Bash history? 

A. .bash_history 

B. .bash_histfile 

C. .history 

D. .bashrc_history 

E. .history_bash 

Answer: