nerdexam
CompTIA

LX0-103 · Question #131

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

The correct answer is A. /usr/share/man. The Filesystem Hierarchy Standard (FHS) mandates that manual pages reside under /usr/share/man.

Devices, Linux Filesystems, Filesystem Hierarchy Standard

Question

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

Options

  • A/usr/share/man
  • B/opt/man
  • C/usr/doc/
  • D/var/pkg/man
  • E/var/man

How the community answered

(36 responses)
  • A
    94% (34)
  • B
    3% (1)
  • D
    3% (1)

Why each option

The Filesystem Hierarchy Standard (FHS) mandates that manual pages reside under /usr/share/man.

A/usr/share/manCorrect

The FHS defines /usr/share as the location for architecture-independent read-only data shared across a system, and explicitly requires manual pages to be stored in /usr/share/man. This path is the standard location recognized by the 'man' command on compliant Linux distributions. Non-compliant paths such as /usr/man are considered legacy and were superseded by this standard.

B/opt/man

/opt is reserved by the FHS for optional third-party add-on software packages and is not the location for system man pages.

C/usr/doc/

/usr/doc is a legacy path that predates the FHS; the standard requires /usr/share/doc for documentation and /usr/share/man for man pages.

D/var/pkg/man

/var/pkg/man is not a path defined or recognized anywhere in the FHS.

E/var/man

/var is designated by the FHS for variable data such as logs and spool files, not for static documentation like man pages.

Concept tested: FHS-compliant man page directory location

Source: https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s11.html

Topics

#FHS#man pages#/usr/share/man#filesystem hierarchy

Community Discussion

No community discussion yet for this question.

Full LX0-103 Practice