User Tools

Site Tools


handbook:handbook:directory

The unix directory tree

Introduction

The linux system is pretty tidy system. All the files are placed in specific folder based on their purpose. In this page, we will try to show you the different area of the linux tree.

/ <--- the root of the system (the top level)
|
|____/bin  <-- The bin folder should contain system programs to be executed for all users (eg: ls, ln, cp...)
|          
|____/sbin  <-- The sbin folder should contain system programs to be executed by administrators only (eg: ifconfig, route...)
|          
|____/etc <-- The etc folder should contain all configurations files for the system
|
|____/lib <--- the system library (require to the linux operating system to work)
|    |
|    |_____/modules <-- the modules directory handles all the kernel modules for your hardware
|
|
|
|
|
|_____/usr <-- the usr folder handle all the users data (application, documentation, etc..)
|     |          
|     |____/bin  <-- The bin folder should contain system programs to be executed for all users 
|     |              (eg: ls, ln, cp...)
|     |          
|     |____/sbin  <-- The sbin folder should contain system programs to be executed by administrators only 
|     |               (eg: ifconfig, route...)
|     |
|     |_____/X11 <-- the X11 folder handle the X-Free86 project files (binaries, libraries, documentation)
|     |
|     |_____/lib <-- the libraries shared by the user software
|     |         
|     |_____/share <-- the share folder handle data that are shared by all application and which are not library
|     |
|     |_____/doc <-- the doc folder handle a lot of documentation related to specific package
|     |          
|     |_____/src <-- this is the place to put the source code  
|                    (eg: the linux kernel)
|
|
|
|
|_____/var
|     |    
|     |_____/run <-- the current process list and number
|     |    
|     |_____/mail <-- the incoming mail folder for any users
|     |    
|     |_____/lib <-- Many database relative to the system
|     |    
|     |_____/log <-- the log folders for various daemon process
|     |    
|     |_____/tmp <-- the alternative temporary folder
|
|
|
|      
|_____/tmp <-- the main temporary folder
handbook/handbook/directory.txt · Last modified: 2010/04/15 21:18 (external edit)