All directories are under the root
directory Structure and disk separation
Directory hierarchy:
What file data should be placed in each directory in the first layer "/" directory
For example:/etc directory decentralization system configuration file
/bin and/sbin placing programs and system commands
The second tier is defined for both the/USR and/var directories.
For example: Place system log files under/var/log, etc.
Tip: The/var partition is separate and the hard drive is large enough. There are monitoring, the remaining 20% alarms.
/dev/Equipment Catalog
/etc/system Configuration and service configuration file, start command directory
/proc virtual directory showing kernel and process information
/tmp Temp file directory, public toilet, living room
/home directory for ordinary users
/root Administrator Home Directory
/var changes the directory, usually the log file, the cache directory.
/usr user program, and directories for data, help files, binary commands, etc.
Directories for/bin and/sbin and/usr/sbin/user commands.
/proc operating system runtime, process information and kernel information (such as CPU, hard disk partition, memory information, etc.) are stored here
Cat/proc/meminfo Memory Information
Cat/proc/cpuinfo CPU
Cat/proc/mounts Mount
CAT/PROC/LOADAVG load
Linux directory structure