nerdexam
LPI

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.

Finding Your Way on a Linux System

Question

Which of the following directories contains information, documentation and example configuration files for installed software packages?

Options

  • A/usr/share/doc
  • B/etc/defaults/
  • C/var/info/
  • D/doc
  • E/usr/examples/

How the community answered

(31 responses)
  • A
    94% (29)
  • B
    3% (1)
  • C
    3% (1)

Why each option

The /usr/share/doc directory is the Filesystem Hierarchy Standard location for installed package documentation, changelogs, and example configuration files.

A/usr/share/docCorrect

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.

B/etc/defaults/

/etc/defaults/ is used for system-wide default configuration values on some systems, not for package documentation or example files.

C/var/info/

/var/info/ is not a defined directory in the Filesystem Hierarchy Standard and is not used by package managers for documentation.

D/doc

/doc is not a standard directory in the Linux FHS and is not used by any major package management system.

E/usr/examples/

/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

#filesystem hierarchy#/usr/share/doc#documentation#FHS

Community Discussion

No community discussion yet for this question.

Full 010-160 Practice