Linux File System

In Linux, programs install into 'bin'ary directories so that they are all contained in one place. Libraries containing frequently used programming routines are kept in 'lib'rary directories.

Here's a general guide on what the main directories contain:


This is where basic shell commands such as ls and mv reside. This directory is always in the executable path.


This is where the kernel is stored and Lilo gets it's information from. This is also where module information is stored.


This is where your devices, or hardware are contained. Hardware devices can be accessed like files.


This is where programs create files that store their options. Here you can set up your preferences for an Internet connection, for Quake II, etc.....


This is where users accounts are located. If you have added any users other than your standard root account, they will show up here.


This is where the basic libraries for booting Linux and running standard programs live. Do not delete anything in this directory.


This is the location where your cdrom, superdisk, zip drives and dos drives are mounted.


This directory is where some distro's and applications install their programs to.


This is an area where information is kept on your hardware devices and system board.


This is your main account directory. The root user (Ie: you) have this space to keep all your downloads, and anything else you want to keep in there.


Like /bin. The 's' stands for System Binaries, where commands like shutdown, lilo and fdisk are stored.


This directory is short for temporary.


When you install programs that need to be accessed by all users, this is the directory they get installed into. There's also another library directory for the new programs so that all users can see and access them. Any program that is not automatically installed with the distribution, and needs to be accessed by all users ends up in this directory.


This is where your log files, and printer files are kept.