Linux directory structure

In order to understand Linux directory structure, you need to know 2 things:

First, in Linux, everything is a file. This means that software can interact with anything as if it was a file: interacting with hardware, with other programs, getting information about the system is implemented as reading or writing to files.

Second, Linux does not create a separate directory for each drive partition. Instead, partitions can be mounted anywhere in the directory structure. For instance, it is common to place /home directory on separate partition.

Some specific details may vary across different Linux systems, but general layout is similar.


Available as video here


2020/12/17