Post

Linux cookbook

Linux cookbook

Linux directory structure

pathmeaningintended for
/binbinariesExecutables and binary files
/bootgetting readyContains all the boot-related files e.g. conf, grub, etc.
/devdevicesDynamically created files representing devices as they are connected
/etcconfiguration filesHost specific configuration files
/homeuser filesystemContains user specific home catalogs
/liblibrariesFunctionalities shared between different applications
/optoptionalOptional and third-party software
/procprocessesPseudo-files representing running processes
/root Home folder of the root superuser
/sbinsuperuser binariesExecutables and binary files that requires root privileges
/tmptemporaryTemporary filesystem, typically cleared on reboot
/varvariablesContains things that are prone to change, such as websites, temporary files, databases
This post is licensed under CC BY 4.0 by the author.