| /boot |
Boot files |
Kernel, initrd, bootloader config |
Essential for system startup |
the kernel is located in here |
| / |
Root directory |
All other directories and files |
Starting point of file system hierarchy |
starting point of the filesystem hierarchy |
| /etc |
System configuration |
Configuration files and scripts |
Critical for system administration |
Contains editable text config files |
| /home |
User home directories |
Personal files and settings |
Stores user-specific data |
Full user access is available here |
| /bin |
Essential user binaries |
Common commands (ls, cp, mv) |
Required for system bootup and repairs |
Contains executable files |
| /opt |
Optional software |
Third-party applications |
Keeps add-on packages separate |
third parties installed |
| /var |
Variable data |
Logs, temporary files, caches |
Stores frequently changing data |
|
| /usr/local/ |
User programs |
Locally installed software |
Separate from system-managed software |
softwares are located |
| /tmp |
Temporary files |
Short-term storage for processes |
Cleared on reboot |
temp file location |
| /media and /mnt |
Mount points |
Removable media, network shares |
Access external storage |
external devices file storage |
| /var/www/ |
Web server files |
Website content and scripts |
Hosts web-related files |
web server host directory |