It can be a bit tricky to detect and understand the Linux file system for years using the Microsoft operating system.
Basically, the Linux/Unix operating systems include hardware resources, but the “everything” is considered a file.
For example, “/proc/partitions” specifies the partitions on the disk, whereas “/dev/eth0” specifies the connected network adapter.
The following diagram shows the file system hierarchy of a Linux operating system based on Redhat/Centos.
Now let’s try to explain the structure one by one.
- Switch to desktop view to see the tables if you’re using mobile device.
|The root directory at the top of the hierarchy, the rest of it, branches from here.
|Contains the files required for the Boot process. e.g. /boot/grub/grub.conf
|Contains the configuration files that contain the system settings. e.g. /etc/resolv.conf
|It is a virtual folder and on the fly that hosts the process and kernel details.
|The folder where the required device files are located. e.g. Physical devices, 0 and random data generators)
|Hosts the user’s directories. e.g. /home/user 1,/home/user 2
|is the user directory for Root.
|The variable is the directory where the system files reside. e.g. /var/log/messages
|A directory where files that are shared among system-wide users are kept.
|Non-essential command binaries, for all users. (not required in singular user mode)
|Non-essential binary files. e.g. Programs for various network services
|The Linux file system is a port for temporary environments. e.g. CD-ROM, USB-memory
|The directory where external applications are installed.
|The run-time variable is the directory where the data is kept. e.g. Connected users, running services
|The directory where temporary files are kept.
When we switch to “Shell”, which is the user interface of the Linux operating system, I will elaborate on the issues.