Interactive TUI tool: Linux Directory Structure Map

When you type ls / in a Linux terminal, you are presented with a set of standard directories. Unlike Windows, which separates storage devices by drive letters (C:, D:), Linux organizes all devices, processes, configuration files, and physical drives into a single unified directory tree starting at the root /.

To help you navigate this hierarchy, we built an interactive Filesystem Directory Map. Click on any directory node in the ASCII tree below to inspect its purpose, type, and standard files.


Interactive Directory Map

[ DIRECTORY TREE ]
/ (root)
├── bin/      [User Binaries]
├── boot/     [Bootloader Files]
├── dev/      [Device Files]
├── etc/      [System Configs]
├── home/     [User Homes]
├── lib/      [Shared Libraries]
├── media/    [Removable Media]
├── mnt/      [Temporary Mounts]
├── opt/      [Optional Software]
├── proc/     [Kernel & Processes]
├── root/     [Root User Home]
├── run/      [Run-time Var Data]
├── sbin/     [Admin Binaries]
├── sys/      [Kernel Variables]
├── tmp/      [Temporary Files]
├── usr/      [Secondary Binaries]
└── var/      [Logs & Cache]
[ ROOT DIRECTORY / ]

Path: /

Description: The root directory representing the bottom of the filesystem tree. Every file and folder in Linux branches out from here.

Filesystem Type: rootfs (Root Filesystem)


Key Contents:

  • /bin - Core user programs
  • /etc - Configuration files
  • /var - System logs & caches
--- ### Filesystem Categories Linux directories fall into three main storage types: 1. **Physical Storage Partition:** Folders that live on your SSD/HDD (e.g. `/usr`, `/home`, `/etc`). 2. **RAM-Based Temporary Filesystems (`tmpfs`):** Folders residing in volatile memory that vanish on reboot (e.g., `/tmp`, `/run`). 3. **Kernel Virtual Interfaces (`procfs`, `sysfs`):** Folders created by the Linux kernel that allow direct parameter reading and hardware adjustments (e.g., `/proc`, `/sys`, `/dev`).