What does the '/etc' directory contain in the Linux operating system?
System configuration file
In the Linux operating system, the filesystem is organized in a specific hierarchical structure, standardized by the Filesystem Hierarchy Standard (FHS). Each directory serves a distinct purpose. The question asks about the contents of the /etc directory.
Let's analyze the options provided:
The /etc directory is a crucial part of the Linux filesystem. It is the central location for host-specific system configuration files. These files are generally static and contain settings that don't change frequently. They are primarily text files and can be edited by administrators to configure various aspects of the operating system and installed applications.
Examples of configuration files found in /etc include:
These examples illustrate that the primary purpose of /etc is indeed to store configuration files.
Based on the standard Linux filesystem structure and the function of the /etc directory:
Therefore, the correct answer is that the /etc directory contains system configuration files.
| Directory | Primary Purpose | Example Content |
|---|---|---|
| /etc | System configuration files | passwd, fstab, network settings |
| /bin, /sbin, /usr/bin, /usr/sbin | Executable programs (commands) | ls, grep, fdisk |
| /home | User home directories | User documents, settings |
| /var | Variable data (logs, temporary files) | System logs, cache files |
| /tmp | Temporary files | Files used temporarily by programs |
Understanding the Linux directory structure, especially the role of /etc for configuration files, is fundamental for navigating and managing a Linux system. The Filesystem Hierarchy Standard (FHS) provides a standard guideline for the organization of files and directories on Unix-like systems, including Linux. While variations exist, the core purpose of directories like /etc remains consistent across most distributions. Configuration files in /etc are typically text-based, making them easy to read and modify using standard text editors. This allows administrators fine-grained control over system behavior.
Read the given figure and find the region representing persons who are educated and employed but not confirmed in job.

The magazine in which Mahatma Gandhi mentioned what he wanted the Constitution to do is:
Which gas shields the surface of the earth from ultraviolet radiation from the sun?
Which event is marked as an Intangible Cultural Heritage of Humanity by UNESCO?
Who has been conferred with the rank of the Commander of the Order of the British Empire in 2018?