PDA

View Full Version : [all variants] Purpose of Different Directories



Orcris
November 1st, 2011, 08:30 PM
I'm trying to learn how the Linux file system is set up. So far, I know it is divided into these files (I'll put an explanation next to the ones I know):

/bin
/boot (where the bootloader is installed)
/cdrom
/dev (where devices' files are stored)
/etc
/home (where users' folders are stored)
/lib
/lost+found
/media (where mounted devices are stored)
/mnt
/opt
/proc
/root (where the root account's folders are stored)
/run
/sbin
/selinux
/srv
/sys
/tmp
/usr (where applications are stored)
/var

and two files called

initrd.img
vmlinux

What are the purposes of all the directories that I don't already know?

philinux
November 1st, 2011, 08:42 PM
My Google foo is strong.

linky (http http://www.google.com/pda?q=linux+file+system ://)

There are some variations between distros but they are mostly the same.

ballantony
November 1st, 2011, 08:42 PM
Have a look here...

https://help.ubuntu.com/community/LinuxFilesystemTreeOverview

ibutho
November 1st, 2011, 09:12 PM
The answers to your questions can be found by taking a look at the File Hierarchy Standard. (http://www.pathname.com/fhs/)