What does /etc directory contain in Linux operating system?

2021

What does /etc directory contain in Linux operating system?

Answer: B. System configuration fileIn the Linux Filesystem Hierarchy Standard (FHS), the /etc directory is one of the most critical locations on the system. It is reserved for host-specific…

  1. A.

    Home directories of the common user

  2. B.

    System configuration file

  3. C.

    Miscellaneous data

  4. D.

    Common program shared by the system and the system administrator

Attempted by 195 students.

Show answer & explanation

Correct answer: B

In the Linux Filesystem Hierarchy Standard (FHS), the /etc directory is one of the most critical locations on the system. It is reserved for host-specific system-wide configuration files. These files control the behavior of the operating system and various installed applications—for example, network settings, user account information (/etc/passwd), and startup scripts. A key rule for /etc is that it should only contain configuration data and not binary executables.

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Rssb Senior Computer Instructor

Loading lesson…