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