LocationDescription
/The main partition of the drive Linux is installed on is mounted here.
/boot, /boot/efiThe boot partition is mounted in one of these places.
/homeEvery user except root has a home folder created here.
/varFiles that change often (log files, cache folders, database files, web server files) should be stored here.
/etcConfiguration files are stored here.
/bin, /sbinExecutable binaries (ls, cat, nano, less, etc.) are stored here. Binaries meant to be used by root are stored in /sbin.
/libLibraries and kernel modules are stored here.
/devVirtual device files live here.
/procVirtual files representing programs currently running on the system live here.
/sys
/tmpThis is a temporary filesystem that’s stored in RAM and is wiped when the system reboots.
/mntAny other hard drives on the system should be mounted here.
/mediaAny removable drives (USB flash drives, DVD drives, etc.) should be mounted here temporarily.
Text filesHuman-readable text files, script files
Binary data filesMedia files, database files, etc
Executable program filesCompiled programs including everything from ls to OpenOffice and Blender
Directory “files”Because hard drives don’t actually have folders, Linux uses these
Link “files”A “file” that simply says “your file is in another castle, go look here”
Device “files”The kernel creates these to make it easier for programs to interact with hardware devices