Unlike Windows with its drive letters, Linux has one unified filesystem starting at / (root). Learning where things live is half of Linux.
The Linux Filesystem Hierarchy
One unified tree from / — no drive letters, everything is a file.
Tap or hover a part to learn more.
The top of everything.
Linux has a single unified tree starting at / — there are no drive letters like C:. Everything, including devices, is a file somewhere under /.
Check your understanding
1. Where do system-wide configuration files live?
2. How are extra disks made available in Linux?
Key directories
- /etc — system-wide configuration.
- /home — users' personal files (/root for the admin).
- /var — variable data, including logs in /var/log.
- /bin, /usr/bin — programs; /tmp — temporary files.
Extra disks are mounted into the tree (e.g. /mnt/data) rather than appearing as separate drives. This connects to permissions and the shell.
