The Linux filesystem can be pictured as an upside-down tree. At the top is a single root directory, written as /. Every other directory, file, mounted filesystem, and device entry appears somewhere beneath it.
The root directory /
/ is not just another ordinary folder. It is the starting point of the Linux filesystem hierarchy. Directories such as /home, /etc, /var, and /usr sit directly beneath it.
/
├── bin
├── boot
├── dev
├── etc
├── home
│ └── alice
├── root
├── tmp
├── usr
└── varCommon top-level directories
Different Linux distributions can vary in detail, but the directories below are very common. As a beginner, you do not need to memorize every file inside them. Start by building a sense of what kind of content usually belongs where.
/home Regular users normally keep their personal directories here, such as /home/alice.
/root The home directory of the root administrator account.
/etc System-wide configuration files are commonly stored here.
/var Frequently changing data such as logs, caches, queues, and service data.
/usr A large amount of user-space software, libraries, shared resources, and documentation lives here.
/tmp A location used by programs and users for temporary files.
/dev Devices are commonly exposed through special files found here.
/boot Contains files related to system startup, including kernel and bootloader-related files.
/bin Traditionally holds essential commands; many modern distributions link it to /usr/bin.
/sbin Traditionally holds system-administration commands; on modern systems it is often merged with /usr/sbin.
/home and /root are different
A regular user named Alice normally has a home directory such as /home/alice, while the administrator account root normally uses /root. The names look similar, but they mean different things: / is the root of the entire filesystem, while /root is the root user's own home directory.
Configuration, logs, and devices are separated
This directory structure makes system administration more predictable. For example, you will often look in /etc for service configuration, /var/log for logs, and /dev for device entries such as disks and terminals.
Memory strategy: Do not memorize the directory list like vocabulary. Start with a few strong roles: /home for user files, /etc for configuration, /var for changing data, /dev for devices, and /tmp for temporary content.
KNOWLEDGE QUIZ
KNOWLEDGE QUIZ
Explain Root Directories in Your Own Words
Look at each directory below. Before clicking “Show reference explanation,” explain aloud in natural language: “What is this directory usually for?” You do not need technical wording, and there is no text input.