A personal site about UNIX/Linux and other opensource technology.
etc directory of unix
早期系统/bin
是用来存放程序(可执行二进制文件)的,然后有了/dev
用来存放设备文件,和/lib
用来存放库文件。/usr
目录很早也有了,首先用来存放用户数据,后来也放一些用户级的/bin
和/lib
,man
形式的用户手册也存放在此。
随着系统越来越庞大,一些无法进行归类的文件就放到了/etc
目录,后来慢慢的大家将/etc
目录用来存放一些系统级的配置文件,现代unix系统上,几乎所有的配置文件都在/etc
目录,etc是et cetera
的缩写。
I assure you that the original contents of /etc were the “et cetera” that didn’t seem to fit elsewhere. Other variants might do their own etymologies differently.
Regards, Dennis
Dennis: Dennis Richie