A Beginner’s Guide to the Linux Filesystem Hierarchy

New Linux users coming from Windows are often thrown by the lack of drive letters — everything lives under a single root, /. Once you understand the standard directory layout, navigating any Linux distro (they’re all remarkably consistent) becomes second nature.

The Directories That Matter Most

  • /bin, /usr/bin — essential and general user command binaries
  • /etc — system-wide configuration files (mnemonic: “et cetera”)
  • /home — per-user personal directories, equivalent to C:\Users
  • /var — variable data: logs, caches, mail spools, databases
  • /tmp — temporary files, typically cleared on reboot
  • /opt — optional third-party software packages
  • /proc and /sys — virtual filesystems exposing kernel and hardware state, not real files on disk

Exploring It Yourself

# See top-level structure
ls -la /

# Check disk usage by top-level directory
du -sh /* 2>/dev/null | sort -rh | head -10

# /proc is a live view into the kernel, not real files
cat /proc/cpuinfo | grep "model name" | head -1
cat /proc/meminfo | grep MemAvailable

Why This Structure Exists

The Filesystem Hierarchy Standard (FHS) is what makes it possible for a sysadmin who’s never touched a particular distro to still know exactly where to look for a config file or a log — a level of predictability Windows has never really had an equivalent for.