LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   What do the directory names stand for (https://www.linuxquestions.org/questions/linux-general-1/what-do-the-directory-names-stand-for-222373/)

jken 08-25-2004 04:29 PM

What do the directory names stand for
 
Hi. New to the forum. Would just like to know what the directory names stand for. Ive recently found out that /usr actually stands for "Unix System Resources". What does /etc, /opt, /var and others stand for. The reason Im asking is because Im busy developing a new distribution and would like to play around with directory structures.

Thanks
Cheers

linmix 08-25-2004 04:39 PM

check the WIKI, ther's a lot of explanations there :)

myriad-zero 08-26-2004 02:10 AM

/etc will have the configuration files and /var is the place for the log files (volatile).

linmix 08-26-2004 04:07 AM

http://wiki.linuxquestions.org/wiki/...ing_Guidelines

trickykid 08-26-2004 07:26 AM

etc = Actually stands for etcetera..
var = Various... as it will have many different files, log files, very fast changing partition.
opt = Optional
usr = Like you mentioned.. Unix System Resources
tmp = Temporary files
boot = boot directory, stores boot info, kernel, etc.
home = Users home partitions
mnt = Mount directory.. usually for cdroms, floppy's, etc.
export = Export directory, exported filesystems, etc.
lib = Library directories, where lib's are stored
proc = Processes. Currently running processes of your system, etc.
dev = Devices, directory to reference all of your devices on your system.
bin = Binary Utilities directory... think of it as /usr but keeps most of the basic commands.
sbin = Just like bin but usually for root user

And anything that has local in it.. like /usr/local usually is for the local filesystem only. Some systems were setup to share the /usr directory and such.. so the local was kept for that one system and not shared, etc. Usually nowadays since hard drive space is not an issue, most use /usr/local as a place to store programs that are installed by non root users.


All times are GMT -5. The time now is 04:26 AM.