Sunday, January 1, 2017

FHS (filesystem hierarchy standard) in Linux & Unix

Filesystem Hierarchy Standard :-




Here you can find some directory's

/ (slash)

In Linux  /  is treated as Top level directory.all directory's  comes under / only.

when you install linux OS in PC or Server  operating system is stored in / directory and OS will create some Default Directory's


/ , /bin, /boot, /dev, /etc, /home,  /media, /mnt, /opt,  /root, /run, /sbin, /usr, /var

They are

/bin 

/bin is called as binary. This Directory contains  all user commends.

/root

/root is called as root home directory or Admin home directory and it contains some default properties. 

/boot 

/boot  is contains boot loader files like grub,efi,....

latest version of boot loader is grub2

GRUB means GRand Unified Bootloader.
  

/dev 

/dev is device file or special files.it contains device information.

/etc 

/etc  is called as et cetera. it Contains system-wide configuration files and system databases.

/home  

it is called as user home directory and it is contains all user's information.

/media

/media directory is shows external devices information like pen-drives,cd,dvd,external hard drives in Some linux flavors 

/mnt 

/mnt stands for mount. This directory is used as a default mount point and it is a empty directory.


/opt 

/opt stands for optional.This directory contains local installed software information.

/run 

/run is contains all external device information in RHEL7

/sbin 

/sbin is called as system binary or superuser binary and it contains admin level commends like start service and stop service create & delete partitions etc..
 
/usr 

/usr stands for Unix System Resource  it contains system programs.

/var

/var stands for variable and it contains variables information.

No comments:

Post a Comment

Docker Crash Course for DevOps Engineers

  Introduction to Docker:                Containerization is a lightweight method of running applications in isolated environments using sha...