What is etc in linux

WBOY
Release: 2022-03-24 11:19:24
Original
8218 people have browsed it

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.

What is etc in linux

#The operating environment of this tutorial: linux7.3 system, Dell G3 computer.

What is etc in Linux

/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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template