EXPLANATION OF LINUX FILES AND DIRECTORIES


OK I HAVE OPENED LINUX FILE DIRECTORY . WHAT AM I SEEING?




After  opening FILE SYSTEM DIRECTORY above directory will be found.  

Unlike windows/Mac, Linux considers directories or even computer's hard drive to be files.


ROOT Here in the above picture you will find a folder name root. This folder is  administrator's HOME directory. In Linux administrator means SU or superuser or root user. Hence root folder is for administrator. 

USR : "usr" directory contains user's application and all the files which need to run those applications. It is the biggest directory in the file system.

                ./local : it is used to locate application installed for local user 
                 ./sbin : It contains essential system applications.

ETC : "etc" stores your configuration file of linux system and other softwares. Most of them are text files and can be opened using text editor.

DEV : "dev" directory has device files in it. I have told you before that in linux devices are treated as files and devices can be written as files. Those written files are found in the /dev folder. For example: mouse, keyboard,printers files would be found here.

MNT : "mnt" means mount. "mnt" shows physical storage devices such as hard drive, DVD-ROMs etc.

LOST + FOUND : "lost and found" directory shows all the system restored files which either lost or accidentally deleted.

MEDIA : "media" folder contains removable media's drives or documents. 

BOOT :  "boot" contains system files including kernel and boot files.

HOME : "home" contains user home directory. It contains each user account's folder.

I have tried my best to give an understanding. Keep in touch. More will come later. Thanks for reading this. 

 

 

 

 

Enhanced by Zemanta

 
Design by Wordpress Theme | Bloggerized by Free Blogger Templates | Best Buy Printable Coupons