Home > Article > Operation and Maintenance > What is etc in linux
In Linux, etc is a directory used to store the main configuration files of the system, derived from the French "et cetera"; the file attributes in this directory can be viewed by ordinary users, but only the root user has rights to make changes.
#The operating environment of this tutorial: linux7.3 system, Dell G3 computer.
/etc is used to store the main configuration files of the system, such as personnel account and password files, starting files for various services, etc. Generally speaking, the attributes of each file in this directory can be viewed by ordinary users, but only root has the right to modify them.
etc is not an abbreviation, it means and so on, which comes from the French et cetera. When translated into Chinese, it means wait.
As for why the configuration file is stored under /etc, according to the original In UNIX terms (linux file structure, please refer to the UNIX tutorial to implement MINIX). What is placed below is a bunch of bits and pieces, called etc. This is actually a historical legacy.
In the early days of Unix In the system, the most important directory is the "bin" directory ("bin" is the abbreviation of "binaries" binary files - compiled programs), and "etc" contains trivial programs such as startup, shutdown and management.
The list of things necessary to run a Linux is: a binary program, etcetera, etcetera - in other words, a low-level important project, usually with some less important odds and ends added.
Today, "etc" contains a wide range of system configuration files. These configuration files cover almost all aspects of system configuration and are also very important.
Related recommendations: "Linux Video Tutorial"
The above is the detailed content of What is etc in linux. For more information, please follow other related articles on the PHP Chinese website!