Linux Root Filesystem

The Linux Filesystem

‘/’ – The Root Directory

The root directory on a Linux system is represented by the ‘/’ character, everything on Linux system is located under this directory.It is as similar as ‘C:\’ directory on Windows- but it does not have drive letters instead other partition would appear in another folder under ‘/’ on Linux.

The following are the most significant and top-level directories associated with the root directory:

  • /bin — binary or executable programs which are essential.
  • /boot — It contains all the boot-related information files and folders such as conf, grub, etc.
  • /etc — system configuration files.
  • /dev — It is the location of the device files such as dev/sda1, dev/sda2, etc.
  • /home — home directory. It is the default current directory.
  • /lib — It contains kernel modules and a shared library.
  • /proc — It is a virtual and pseudo-file system to contains info about the running processes with a specific process ID or PID.
  • /mnt — It contains temporary mount directories for mounting the file system.
  • /opt — optional or third-party software.
  • /sbin — System Administration Binaries contains essential binaries that are generally intended to be run by the root user for system administration.

Leave a Reply