Tag Archives: /proc

The file system is a logical collection of files on a disk. In Linux, all users including the root user which is also known as the superuser have their own home directories to save their data in.

Linux Directory Structure:

In Linux, you can choose any method to manage files and folders with a file manager or with the command line. The thing you should consider is that you must have good knowledge of the Linux commands to use command line method.

Linux and Unix use a tree-like file system structure with root (/) at the base of the file system. All the other directories spread from there. Each of these directories has a specific purpose. Generally, they hold the same types of information so that you can easily locate files. The following are the common directories found in Linux and Unix:

/

This is the root directory which contains the directories needed at the top level of the file structure.

/bin

This directory contains the executable files. These files are available to all users.

/dev

It holds device files that represent hardware components.

/lib

It contains shared library files and sometimes other kernel-related files.

/tmp

This directory holds temporary files used between system boots.

/boot

It contains files for booting the system.

/etc

This directory host-specific system configuration files.

/home

It contains the home directory for users and other accounts on the server.

/var

Basically, it contains variable-length files such as log and print files and any other type of file that may contain a variable data.

/mnt

This directory used to mount other temporary file systems, such as CD-ROM and floppy for the respective drive.

/proc

This directory contains all processes marked as a file by process number or other information that is dynamic in the system.

/usr

This directory used for miscellaneous purposes and can be used by many users. Additionally, it has administrative commands, shared files, library files, and others

/sbin

It contains binary files, basically for system administration. For example, fdisk and ifconfig utlities.

/kernel

This directory contains kernel files.

Please refer our other file system related articles at following theselinks:

https://linux-documentation.com/linux-file-access-permissions/(opens in a new tab)

https://linux-documentation.com/modifying-file-permissions-in-linux/(opens in a new tab)

I hope these articles will help you understand the Linux File System easily.