11.
Under which directory would you expect to find nonessential program
files?
- A./boot
- B./bin
- C./sbin
- D./usr
- Answer & Explanation
- Report
Answer : [D]
Explanation :
Explanation :
Program files that are not required to boot a system are typically stored in a subdirectory below the /usr directory. |
12.
Under which directory would you expect to find log files?
- A./proc
- B./run
- C./var
- D./usr
- Answer & Explanation
- Report
Answer : [C]
Explanation :
Explanation :
The /var directory is used on Linux to store files that may grow unexpectedly. |
13.
Which of the following directories would typically not be mounted on its own
dedicated device?
- A./etc
- B./boot
- C./home
- D./usr
- Answer & Explanation
- Report
Answer : [A]
Explanation :
Explanation :
The /etc/directory contains configuration files that are needed while your server boots. Putting /etc on a dedicated device would make your server unbootable. |
14.
Which of the following commands would give the most accurate overview of
mounted disk devices (without showing much information about mounted system
devices as well)?
- A.mount
- B.mount -a
- C.df -T
- D.du -h
- Answer & Explanation
- Report
Answer : [C]
Explanation :
Explanation :
The df -h command shows mounted devices and the amount of disk space currently in use on these devices. The -T option helps in recognizing real file systems (as opposed to kernel interfaces) because it shows the file system type as well. |
15.
Which command enables you to show all files in the current directory so that
the newest files are listed last?
- A.ls -lRt
- B.ls -lrt
- C.ls -alrt
- D.ls -alr
- Answer & Explanation
- Report
Answer : [C]
Explanation :
Explanation :
The option -a shows hidden files, -l gives a long listing, -t sorts on modification time which by default shows newest files first, and -r reverts the sorting so that newest files are shown last. |