010-160 · Question #36
Which of the following directories contains information, documentation and example configuration files for installed software packages?
The correct answer is A. /usr/share/doc. The /usr/share/doc directory is the Filesystem Hierarchy Standard location for installed package documentation, changelogs, and example configuration files.
Question
Options
- A/usr/share/doc
- B/etc/defaults/
- C/var/info/
- D/doc
- E/usr/examples/
How the community answered
(31 responses)- A94% (29)
- B3% (1)
- C3% (1)
Why each option
The /usr/share/doc directory is the Filesystem Hierarchy Standard location for installed package documentation, changelogs, and example configuration files.
The FHS defines /usr/share/doc as the standard location where software packages install their documentation, README files, changelogs, and example or sample configuration files. This convention is followed consistently across Debian, Red Hat, and other major Linux distributions.
/etc/defaults/ is used for system-wide default configuration values on some systems, not for package documentation or example files.
/var/info/ is not a defined directory in the Filesystem Hierarchy Standard and is not used by package managers for documentation.
/doc is not a standard directory in the Linux FHS and is not used by any major package management system.
/usr/examples/ is not a defined path in the FHS - documentation and examples are stored under /usr/share/doc, not a separate examples directory.
Concept tested: Linux Filesystem Hierarchy Standard /usr/share/doc location
Source: https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s11.html
Topics
Community Discussion
No community discussion yet for this question.