[[email protected] ~]# LS/
Bin Dev Home lost+found misc opt root selinux sys usr
Boot etc lib Media net proc sbin SRV tmp var
*/bin: Bin is the abbreviation for binary. This directory holds the most frequently used commands.
*/ Boot: Here are some of the core files used when starting Linux, including some connection files and image files.
*/ Dev: Dev is the abbreviation for device (devices). This directory is a Linux external device that accesses the device in Linux in the same way that it accesses the file.
*/ etc: This directory is used to store all the configuration files and subdirectories required for system administration.
* /Home: The user's home directory, in Linux, each user has a directory of their own, usually the directory name is named after the user's account.
*/lib: This directory contains the system's most basic dynamic connection shared library, which acts like a DLL file in Windows. These shared libraries are required for almost all applications.
*/lost+found: This directory is generally empty, and when the system shuts down illegally, some files are stored here.
*/media: The Linux system will automatically identify some devices, such as a USB flash drive, optical drive, etc., and when identified, Linux will mount the identified device to this directory.
*/mnt: The directory is provided to allow users to temporarily mount other file systems, we can mount the optical drive on the/mnt/, and then enter the directory to view the contents of the CD-ROM.
*/opt: This is the directory for the host to install additional software. For example, if you install an Oracle database, you can put it in this directory. The default is empty.
*/proc: This directory is a virtual directory and it isSystem memory mapping, we can access this directory directly to obtain system information. The contents of this directory are not on the hard disk but in memory, we can also directly modify some of the files inside, such as can be used to block the host ping command, so that others cannot ping your machine:
Echo 1 >/proc/sys/net/ipv4/icmp_echo_ignore_all
*/root: This directory is a user home directory for system administrators, also known as super-permissions.
*/sbin:S is the Super user's meaning, which is stored in the system administrator's use of the System Management program.
*/selinux: This directory is unique to the Redhat/centos directory,SELinux is a security mechanism, similar to Windows Firewall, but this set of mechanisms is more complex, this directory is to store selinux related files.
*/srv: This directory holds data that needs to be extracted after some services have been started.
*/sys: This is a big change in the linux2.6 kernel. In this directory, a new file system Sysfs is installed in the 2.6 kernel, and the Sysfs file system integrates the information of the following 3 file systems: proc File system for process information, DEVFS file system for devices, and devpts file system for pseudo terminal. The file system is a visual reflection of the kernel device tree. When a kernel object is created, the corresponding files and directories are also created in the kernel object subsystem.
*/tmp: This directory is used to store some temporary files.
*/usr: This is a very important directory, the user's many applications and files are placed in this directory, similar to the Program Files directory under Windows.
*/usr/bin: The application used by the system user.
*/usr/sbin: more advanced hypervisor and system daemon used by super users.
*/USR/SRC The default placement directory for the kernel source code.
*/var: This directory is stocked with things that are constantly expanding, and we are accustomed to placing directories that are often modified in this directory. Includes various log files.
Linux system directory