Linux file system and directory structure

I will briefly describe the Linux directory structure:

The root section.

The storage directory of the main binary user modules (programs).

Directory for storing Linux kernel images, grub bootloader.

CD mount point

The directory contains files of devices connected to the operating system. printers, scanners, hard drives, etc.

Directory with configuration files.

Directory with user home directories.

A directory storing the system libraries necessary for the main binaries from the /bin and /sbin directories.

Files recovered after a crash.

Directory for automatically mounting devices, such as USB drives, CD-ROMs, etc.

Directory for manually mounting devices, such as USB sticks, CD-ROMs, etc.

Directory where helper packages are usually located.

Kernel and process files.

Superuser home directory.

application status files

The storage directory of the main binary system modules (programs).

Service data. Usually the directory is empty. It may contain, for example, the /srv/ftp directory as the standard directory for ftp server files, etc.

A directory with the sysfs file system mounted, which adds Linux kernel information about devices and drivers present in the system to the user space.

Directory for storing temporary files. All users have full access to this directory. It is automatically cleared after restarting the operating system.

Custom binaries and read-only data.

Directory for frequently changing data.

Leave a comment

Leave a Reply