The standard file system hierarchy describes directory structure and its content as the operating system in Unix and Unix. It explains the location and what files and directories should be.

/ (Root Directory):-

  • The / directory is called root directory.
  • This is the top directory of “Directory structure in Linux’.
  • All and every others files and directory contain by /(root) directory.
  • The root directory contains only sub directories.

/root :-

  • /root directory is the default home directory of root user.
  • /root directory is the sub directory of / directory.

/home :-

  • As you know the Linux operating system is multi-user environment,when a normal user created in Linux by default the normal users home directory is created under /home directory.
  • This is the place where the every normal users keeps their personal files and directory or content.

/boot :-

  • The directory has all the files which are required to boot your system or server or machine.
  • Without /boot directory your system can’t boot.

/sbin :-

  • The /sbin directory contains all the command which are execute by super-user or root.

/bin :-

  • The /bin directory contain all the command which are execute by normal user as well as administrator user.

/usr :-

  • The /usr directory contain all program and application which are available for user.

/var :-

  • The /var directory have all the log files related to all services,event,etc.

/dev :-

  • The /dev directory contains the special files for all devices.

/etc :-

  • The /etc directory contain all configuration files of services application like apache,sambha,etc.

/proc :-

  • The /proc directory is contains all the information about currently running in system process.

/tmp :-

  • The /tmp directory contains temp files which are created by normal user and super user.

/mnt :-

  • The directory is used for temporary device mounting where super user can mount file system.

/opt :-

  • The /mnt directory contain third party application like MS-Office.

/lib :-

  • The directory contain library files which are support to binaries located under /sbin and /bin directory.

Thankyou…..