/bin
Essential user commands needed for booting and basic operation, such as ls, cp, and sh. Often linked into /usr/bin on modern systems.
Filesystem quick reference
/?The root directory is the starting point of a Linux filesystem. Every file, device, configuration, and mounted volume appears somewhere beneath it.
/ ├── bin essential commands ├── boot boot loader and kernel ├── dev device files ├── etc system configuration ├── home user directories ├── proc process and kernel view ├── usr installed programs and data └── var changing system data
Common locations defined by Unix convention and the FHS.
/binEssential user commands needed for booting and basic operation, such as ls, cp, and sh. Often linked into /usr/bin on modern systems.
/bootFiles used during startup, including Linux kernels, initial RAM filesystems, and boot-loader configuration.
/devSpecial files representing hardware and virtual devices. Examples include disks, terminals, random-number sources, and null devices.
/etcHost-specific system configuration. Service settings, account databases, network configuration, and startup definitions commonly live here.
/homePersonal directories for regular users. Each user normally owns a subdirectory containing documents and per-user configuration.
/lib and /lib64Essential shared libraries and kernel modules. These paths are frequently links to corresponding locations below /usr.
/mediaAutomatic mount points for removable media such as USB drives, optical discs, and portable storage devices.
/mntA conventional location for temporary, manually mounted filesystems. Administrators often create task-specific subdirectories here.
/optOptional, self-contained application packages. Third-party software may keep its binaries, libraries, and static data together here.
/procA virtual filesystem exposing processes and kernel state. Its files are generated by the kernel rather than stored on disk.
/rootThe home directory of the administrative root account. It is separate from /home so it can remain available during recovery.
/runVolatile runtime state created since boot, including PID files, sockets, locks, and transient service data. It is usually memory-backed.
/sbinEssential system-administration commands. On merged-/usr systems, this path commonly links to /usr/sbin.
/srvData served by this machine, such as content belonging to web, FTP, or repository services.
/sysA virtual interface to devices, drivers, and kernel subsystems. Administrators can inspect—and sometimes tune—kernel-managed objects here.
/tmpShort-lived temporary files available to applications and users. Its contents may be cleared automatically or during reboot.
/usrThe main hierarchy for installed programs, shared libraries, documentation, and architecture-independent application data.
/varData that changes as the system runs: logs, caches, queues, databases, package metadata, and web content are common examples.
/lost+foundA recovery directory created on some Linux filesystems. Filesystem checks may place recovered but disconnected files here.
/home and /Home are different paths. Most conventional system directory names are lowercase.
Use ls -la to include entries such as .profile and .config in a directory listing.
Distribution, container, embedded, and immutable systems may omit directories or use symbolic links between them.