6 Software
User Manual 74/374
/sbin – System Binaries
Contains binary executables like /bin.
The linux commands located under this directory are used typically by the system administrator for system
maintenance purpose. For example: iptables, reboot, fdisk, ifconfig
/srv – Service Data
Contains server specific and services related data.
/sys – System information
Modern Linux distributions include a /sys directory as a pseudo filesystem (sysfs, comparable to /proc),
which stores and allows modification of the devices connected to the system.
Many traditional Unix and Unix-like operating systems use /sys as a symbolic link to the kernel source tree.
/tmp – Temporary Files
Contains temporary files created by system and users.
Files in this directory are deleted when system is rebooted.
/usr – User Programs
Contains binaries, libraries, documentation, and source-code for second level programs.
/usr/bin contains binary files for user programs. If a user binary cannot be found under /bin, it might be
under /usr/bin. For example: at, awk, chat, less
/usr/sbin contains binary files for system administrators. If a system binary cannot be found under /sbin, it
might be under /usr/sbin. For example: ftpd, httpd
/usr/lib contains libraries for /usr/bin and /usr/sbin
/usr/local contains user programs that are installed from source.
/var – Variable Files
Contains files with expected increasing size (content).
Example: System log files (/var/log); packages and database files (/var/lib); lock files (/var/lock); temp files
needed across reboots (/var/tmp);