What does /etc directory contain in Linux operating system?

2021

What does /etc directory contain in Linux operating system?

  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 81 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.

Explore the full course: Uppsc Polytechnic Lecturer 2025 Cs