Linux File System - Explained
Part of Linux
Directory | Description | Example of Content |
---|---|---|
/ | root folder | Everything to the OS, from hardware to softrware |
/bin | Common executables available for everyone | cp, rm, ls |
/boot | Kernel and Boot configuration | grub.cfg |
/dev | Files which point to both physical and pseudo devices | |
/etc | System and program configuration files | |
/home | non-root user home directories | |
/lib64 | Library files used by the system, include .so files and others | |
/lost+found | Saved files due to failure | |
/media | Auto-mounting place for certain external devices | |
/mnt | Place to mount various file systems | |
/opt | Various Software | |
/proc | Virtual filesystem for resources, processes and more | |
/root | root user Home Directory | |
/sbin | Similar to /bin, but for system administrators | fdisk |
/tmp | Temporary files storage, wiped out after reboot | |
/usr | User programs, library files, docs | obs |
/var | Variable files for various purposes | logs, tz data |