Linux Filesystem: Understand the Directory Tree Before You Change It
Linux uses one directory tree rooted at /. Learn where user data, configuration, logs and mounted filesystems fit before changing system files.
Short answer
Linux organizes files in a single directory tree rooted at /. Disks and partitions are attached at mount points inside that tree. Directories such as /home, /etc, /var and /usr describe broad roles, but exact application data and distribution policies still need first-party documentation.
Key directories to recognize
| Path | Typical role | Safe beginner rule |
|---|---|---|
/ | Root of the filesystem tree. | Do not confuse it with the root user’s home directory. |
/home | Regular users’ home directories. | Personal files commonly live below your own home. |
/etc | Host-specific system configuration. | Back up configuration before editing and use the application’s documented format. |
/var | Variable data such as logs, caches and service state. | If a disk fills unexpectedly, inspect growth here without deleting blindly. |
/usr | Most installed user-space programs, libraries and shared data. | Manage packaged files through the package manager rather than editing them casually. |
/tmp | Temporary files with distribution-specific cleanup behavior. | Do not use it as the only copy of important data. |
Mount points replace drive letters
A second disk can be mounted at a directory such as /mnt/data or automatically below a desktop-managed media path. Once mounted, its files appear under that directory. The mount point is not the disk itself; it is where the filesystem is attached to the current directory tree.
Paths are case-sensitive
/home/Faith and /home/faith are different paths on normal Linux filesystems. Shell quoting also matters when names contain spaces or special characters. Before a destructive command, use an inspection command such as pwd and ls to prove where you are.
Learn the model before memorizing directories
You do not need to memorize the entire Filesystem Hierarchy Standard to use Linux. Learn the current user’s home, configuration locations relevant to the application you are changing, where logs come from, and how mounted storage appears. Then use distribution or application documentation for the exceptions.
Useful gear for this task
Optional tools that fit the workflow above. Affiliate links may earn us a commission.
Frequently asked questions
Why does Linux have one directory tree instead of drive letters?
Linux presents mounted filesystems within a single directory tree rooted at /. Separate disks and partitions become accessible at mount points rather than being assigned Windows-style drive letters.
What is the difference between /home and /root?
/home commonly contains regular users’ home directories. /root is the root account’s home directory and is not the root of the filesystem.
Technical references checked
Technical review: 9 September 2026. Distribution, hardware and training details can change; recheck first-party documentation before a risky system change or purchase.