/
- root directory/home
- user home directory ( ~/ )/bin
- essential binaries for the operating system (ls, vi, cd, etc.)/sbin
- essential binaries for sudo user (mount, mkswap, deluser/lib
- shared code between binaries/usr
/local
/bin
- locally compiled binaries
/bin
- non-essential binaries (not required for os to function)
/etc
- editable text config (user configuration)/boot
- files required to boot the system (such as linux kernel)/dev
- device files (interface with hardware or drivers as files)/opt
- directory for optional and software addons/var
- variable files that will change as the operating system is being used (logs, cache)/tmp
- temporary files (will reset at reboot time)
Last active
February 12, 2021 16:42
-
-
Save stamatim/74a2822d216b817f7a15a81f1be8a7fd to your computer and use it in GitHub Desktop.
Linux directories explained
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment