Directory Structure

Directory structure

Linux file system is a hierarchically tree structured. In the File System Hierarchy Standard (FHS), all files and directories appear under the root directory /, even if they are stored on different physical or virtual devices.

Most of these directories exist in all UNIX like operating systems and are generally used in much the same way; however, the descriptions here are those used specifically for the FHS, and are not considered authoritative for platforms other than Linux.

/

root directory. It is the top level directory.

/bin

It is the place where all executable files are located and available for all users.

/dev

It Contains references to all the CPU peripheral hardware, which are represented as files with special properties.

/etc

It contains most important System configuration files like disk configuration files,valid user lists, groups, Ethernet etc.. just like control panel in windows.

/lib

It contains library files ,includes files for all kinds of programs needed by the system and the users .

/home

It is home directory of common user.

/root

It is home directory for root user.

/boot

It contains the files for booting the system.

/proc

It Contains all processes considerable as a file by process number or other information that is dynamic to the system.

/tmp

It contains temporary files used by the system ,cleaning upon reboot.

/usr

It contains Programs, libraries, documentation etc.. for all user-related programs.

/var

It is the Storage for all variable files and temporary files created by users.

/sbin

It contain binary executable files. Programs for use by the system and the system administrator.

 

Advertisements