linux system / etc directory Introduction

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/u010608296/article/details/102523302

etc: the main system configuration files are placed almost in this directory, for example, account password file officers, starting various services such as file. In general, the properties of each file in this directory is that it gives the user access to the general user, but only root has the right to modify. FHS is not recommended to place an executable file in this directory (binary). The more important documents have /etc/inittab,/etc/init.d/,/etc/modprobe.conf,/etc/x11,

/etc/fstab,/etc/sysconfig/等。

Also under which important directories are:

1, / etc / init.d: ​​The default startup script for all services are placed here, for example, to enable or disable iptables, you can use /etc/init.d/iptables stop opening them: /etc/init.d/ iptables start

2, / etc / xinetd.d /: This is the profile directory so-called super daemon management of services

3, / etc / X11 /: X Windows and a variety of related configuration files are here, especially this XServer xorg.conf configuration file

Guess you like

Origin blog.csdn.net/u010608296/article/details/102523302