LFCS · Question #731
In compliance with the FHS, in which of the directories are man pages found?
The correct answer is A. /usr/share/man. In compliance with the Filesystem Hierarchy Standard (FHS), man pages, which provide system documentation, are found in the /usr/share/man directory.
Question
Options
- A/usr/share/man
- B/opt/man
- C/usr/doc/
- D/var/pkg/man
- E/var/man
How the community answered
(23 responses)- A91% (21)
- C4% (1)
- E4% (1)
Why each option
In compliance with the Filesystem Hierarchy Standard (FHS), man pages, which provide system documentation, are found in the `/usr/share/man` directory.
According to the Filesystem Hierarchy Standard (FHS), the `/usr/share/man` directory is the designated location for manual pages, which contain documentation for commands, system calls, and other system components.
The `/opt` directory is typically used for the installation of optional application software packages, not for standard system documentation like man pages.
While `/usr/doc/` might contain some documentation, the FHS specifies `/usr/share/doc` for miscellaneous documentation and `/usr/share/man` specifically for man pages.
`/var/pkg/man` is not a standard FHS directory; `/var` is for variable data like logs, and `pkg` is not a standard subdirectory for man pages.
`/var/man` is not the standard FHS location for man pages; `/var` is reserved for variable data that changes during system operation, whereas man pages are static documentation.
Concept tested: Filesystem Hierarchy Standard (FHS)
Source: https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s09.html
Topics
Community Discussion
No community discussion yet for this question.