Modern QA2026The Filesystem Hierarchy — tiles
Log inJoin
1 / 55 · 19 Linux & Command Line · Linux Directory Structure⊞ allnext →☰ Read as one page

1.1The Filesystem Hierarchy

Linux organizes everything as files in a single directory tree starting from the root /. Understanding this structure helps you navigate test environments, find configuration files, and locate logs quickly.

/                   Root of the filesystem
├── home/user/      Your home directory (~)
├── etc/            Configuration files
├── var/
│   ├── log/        Application and system logs
│   └── lib/        Variable data (databases, packages)
├── tmp/            Temporary files (cleared on reboot)
├── opt/            Optional/third-party software
├── usr/
│   ├── bin/        User-installed binaries
│   └── local/      Locally compiled software
├── proc/           Virtual filesystem (process and kernel info)
├── dev/            Device files
└── srv/            Service data (web servers, FTP)