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.
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
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
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
Q55. - (Topic 2)
Which file should be edited to select the network locations from which Debian installation package files are loaded?
Q56. - (Topic 3)
What is the output of the following command?
echo "Hello World" | tr -d aieou
A. Hello World
C. Hll Wrld
D. eoo Hll Wrld
Q57. - (Topic 3)
In compliance with the FHS, in which of the directories are man pages found?
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?
Q60. - (Topic 3)
Which of the following files, located in the user home directory, is used to store the Bash history?