Understanding FHS is key to working efficiently with Linux.
Directories¶
- /bin, /sbin — essential commands
- /boot — kernel, GRUB
- /dev — devices
- /etc — configuration
- /home — home directories
- /opt — third-party software
- /proc, /sys — virtual FS
- /tmp — temporary files
- /usr — programs
- /var — logs, cache
Important Files¶
/etc/hostname, /etc/hosts, /etc/fstab /etc/passwd, /etc/shadow, /etc/sudoers /var/log/syslog, /var/log/auth.log
/proc¶
cat /proc/cpuinfo cat /proc/meminfo cat /proc/loadavg
FHS = Efficiency¶
man hier for complete documentation.
linuxfilesystemfhs