What does the "etc" folder in the root directory stand for? I think knowing this will help me remember where certain files are located.
Update: Might be useful for others, the folder is used for "Host specific configuration files" - reference.
|
What does the "etc" folder in the root directory stand for? I think knowing this will help me remember where certain files are located. Update: Might be useful for others, the folder is used for "Host specific configuration files" - reference. |
||||
|
Define - /etc? has some good history. You can find references to "et cetera" in old Bell Labs UNIX manuals and so on – nowadays it's used only for system configuration, but it used to be where all the stuff that didn't fit into other directories went. |
|||||||||||
|
|
Originally, there was And there were a few files in the operating system that didn't fit in any of the existing categories. This included a (You can browse some old Unix source code on the Unix Tree. Versions earlier than V6 are very fragmentary. You can also see V1 and V6 manuals at the Manual Page Library.) At first, there was no connotation that files in With the creation of On modern unix systems, almost all system-wide configuration files are under |
||||
|
|
It means "et cetera". In Latin literally "and the rest". And I have proof. |
|||||
|
|
Wikipedia's Filesystem Hierarchy Standard Article offers an explanation on this.
Source: http://en.wikipedia.org/wiki//etc#Directory_structure |
||||
|
|
|
I always assumed it was to suggest a miscellaneous directory, like "etc = all the rest we do not bother to categorize further"; I personally use such a folder too on my home directory as well (not called etc but "oars" = "(something) else"). |
|||
|
|
|
I thought it just meant "et cetera" as in "etc..." on a list.
|
|||||||
|
|
At the beginning of UNIX it was both necessary and practical to give short names to stuff. So, all system directories were kept to 3 letters and they are abbreviations. These names are still present on modern Linux systems. (ie. usr-user, var-variable, lib-library). |
|||
|
|
/etcbecause there wasn't anyplace else to put it. Poof! De-facto standard. You know that/usrwas originally the place where user home directories were? – Omnifarious Nov 19 '12 at 22:32/etctoo. – James O'Gorman Nov 19 '12 at 22:45