Module 04
Linux Filesystem Hierarchy
In Windows, you have C:, D:, E: drives. In Linux, there is only One Tree. Everything starts at Root (/).
โฑ๏ธ 25 min read๐บ๏ธ Concept๐
Updated: Jan 2026
1 The Upside-Down Tree
Linux organizes files like an upside-down tree. The trunk is at the top, and branches grow downwards.
/home/user/notes.txt
๐ The House Analogy
Linux builds One Mansion. Hard drives are just Rooms (/mnt).
2 The Neighborhood Tour (FHS)
Memorize these 5 key locations:
/
Root. Top level.
TOP
/home
Users. My Documents.
USER
/etc
Configs.
SETTINGS
/var
Variable. Logs, Web.
LOGS
/bin
Binaries. Apps.
APPS
3 Absolute vs Relative Paths
๐ Absolute
Full address from Root.
cd /home/user/downloads
๐ Relative
From where you are.
cd downloads
4 The Secret Files
Files starting with . are hidden.
ls -a