In the Linux system, there is an all-in-one file that abstracts almost all resource systems into file form and is easier to manage. Here I will introduce the directory structure of the Linux file system, as shown in
After logging into the system, enter the command in the current command window:
LS/
The results are as shown,
The following is an explanation of the directory:
/boot:
The boot file is stored in a directory that contains some of the core files (vmlinuz) used at Linux startup, including some connection files, and the image files are stored in this directory.
/bin:
The bin is the abbreviation for binary, which holds basic commands for all users, cannot be associated to a separate partition, and is used by the OS when it is started.
/sbin:
S is the meaning of the supper user, which is the basic command of the management class, which can not be associated to a separate partition, which is used by OS startup.
/lib:
is the library's abbreviation, that is, the meaning of libraries, store the startup program depends on the basic shared library files and kernel module files (/lib/modules)
/LIB64:
Dedicated to the storage location of secondary shared library files on x86_64 systems.
/etc:
Configuration file Directory
/home:
The user's home directory, typically the directory name is named after the user's account, storing personal data.
/home/username: Normal user home directory
/root: Administrator's home directory
/media: Portable mobile device mount point
/MNT:
In order for the user to temporarily mount the other file system, mount the CD drive on the/mnt/and enter the directory to view the contents of the disc.
/dev:
device abbreviation, which stores Linux external devices and is divided into block blocks and character character devices
/OPT: Some documents of the program itself, configuration file templates, etc., are placed by default in/usr
/srv:
Service data, the HTTPD Web site's paging file html,php,jsp,ftp the data files that are shared by default on/var
/tmp: Time Directory
/usr:universal shared, many programs and files for READ-ONLY data users are stored in this directory
The application used by the/usr/bin system.
/usr/sbin more advanced hypervisor and system daemon used by super users.
/USR/SRC The default placement directory for the kernel source code.
/var:variable data files store constantly expanding things, often modifying things placed in this directory, various log files.
/proc: Used to output the virtual file system of the kernel related to process information.
/sys: A virtual file system for outputting information about hardware devices on the current system.
The above is the directory structure of the Linux system.
Getting Started with Linux-system directory structure