What are the standard Linux directories, like /etc
?
- 2,319
- 5
- 23
- 24
- 255
- 3
- 6
- 15
-
possible duplicate of http://serverfault.com/questions/24523/meaning-of-directories-on-unix-and-unix-like-systems – warren Nov 16 '10 at 03:00
4 Answers
You're looking for the Filesystem Hierarchy Standard, and the Linux Standards Base, which builds on it.
- 2,319
- 5
- 23
- 24
- 401
- 1
- 3
- 13
/bin - common binaries
/sbin - Binaries used for system administration are placed here.
/boot - static files of the boot loader
/dev - device files such as your CD drive, hard disk, and any other physical device.
/home - user home directories are found here.
/lib - Essential shared libraries and kernel modules
/mnt - temporary mount point useful for when you insert your USB stick etc.
/var - variable data, such as logs, news, mail spool files and so on which is constantly being modified by various programs running on your system.
/tmp - temporary files are placed here by default.
/usr - the secondary hierarchy which contain its own bin and sbin sub-directories.
/etc - Usually contain the configuration files for all the programs that run on your system.
/opt - Third party application packages which does not conform to the standard Linux file hierarchy can be installed here.
/srv - Contains data for services provided by the system.
- 255
- 3
- 6
- 15
-
-
@skaffman - probably trying to get the self-learner badge or just whoring for rep :) – Jun 30 '09 at 20:49
-
1
-
-
-
also, It's just a starter answer anyway, I'll refine it over time... – Scott Kramer Jun 30 '09 at 21:07
Debian definition: http://www.debian.org/doc/debian-policy/ch-opersys.html
This one seems "good enough" for me to link it, but I don't know what's the exact origin: http://www.pathname.com/fhs/pub/fhs-2.3.html
The google keyword is "file system hierarchy".
- 357
- 1
- 4
- 10
If you will look to the right --> There is a Related section that has a link to this question which provides the same information as the question you asked and answered.