1, root directory/(root user's home directory)
Each file and directory is started from the root directory.
Only the root user has write access to the directory.
It is important to note that/root is the home directory of the root user, while the user's home directory for normal users is/home/user
Home directory for normal user
/sbin/bin Store the commands used by the user.
The commands in/sbin/only allow root users to be used by Superuser. The normal user uses the commands under the/bin/directory. such as LS Cat VI
Iv. Boot/boot system startup related files, namely: boot loader related files.
[Email protected] ~]# ls/boot/
config-3.10.0-514.el7.x86_64 initramfs-0-rescue-16b3e1f1592341f8abd834add3b42bf5.img initrd-plymouth.img Vmlinuz-0-rescue-16b3e1f1592341f8abd834add3b42bf5
Grub Initramfs-3.10.0-514.el7.x86_64.img symvers-3.10.0-514.el7.x86_64.gz vmlinuz-3.10.0-514.el7.x86_64
GRUB2 initramfs-3.10.0-514.el7.x86_64kdump.img system.map-3.10.0-514.el7.x86_64
V./dev device files.
Includes terminal equipment, USB, or any device connected to the system. For example:/dev/tty1,/dev/usbmon0
Vi./lib/lib64 System Library files
Common commands rely on library files, and you can use Ldd/bin/ls to view the LS-dependent library files
Seven,/media automatically mount the directory, default is empty. Currently more commonly used, such as U disk, DVD, etc.
Eight,/mnt manual mount directory, default is empty
Ix./proc Process Information
A virtual file system that contains information about a running process. For example: The/proc/{pid} directory contains information related to a specific PID.
X. Temporary files produced by the/run process
XI./var variable file
Files that may grow in content can be found under this directory.
This includes-system log files (/var/log), Package and database files (/var/lib), e-mail (/var/mail), print queue (/var/spool), lock file (/var/lock), and multiple restarts of required temporary files (/var/ TMP);
12./etc Configuration file
Contains the configuration files that are required for all programs.
Also includes startup and shutdown shell scripts for starting/stopping a single program
The Linux system directory is the hot dog