In the Linux system, we see the tree structure, for example, the operating system installed in a file system, he is represented by the/start of the tree structure. At the top of the Linux filesystem is/, we call the Linux root, which is the filesystem of the Linux operating system. The Linux file System entry is/, all directories, files, devices are in/below,/is the Linux file system Organizer, is also the most superior leader.
The "/" root directory section has the following subdirectories:
/bin The execution files (binary) that are required for the system to be started, these files can be used by ordinary users.
/ boot files for the bootstrap loader (LILO or GRUB). When the computer starts (if there are multiple operating systems, it is possible to allow you to choose which operating system to start), these files are first loaded. This directory will also contain the Linux kernel (compressed file vmlinuz), but the Linux kernel can also exist elsewhere, as long as Lilo is configured and Lilo knows where the Linux kernel is.
/ Dev device file directory. Linux devices are treated as files, which allows the hardware to be abstracted, read-write, network-shared, and temporarily loaded into the file system. Under normal circumstances, the device will have a separate subdirectory. The contents of these devices will appear in separate subdirectories. Linux does not have a so-called driver.
/ etc operating system configuration file directory.
The/home directory contains the user's files: parameter settings files, personalization files, documents, data, EMAIL, cached data, and so on. This directory should be maintained at the system provincial level.
/lib A shared library of programs and core modules under the root file system directory.
/mnt A preset mount point for a floppy disk, CD-ROM, USB flash drive, and other peripherals.
The /proc directory contains all the unreal files. They do not actually exist on the disk, and they do not occupy any space. (Ls–l can be used to show their size) when you view these files, you are actually accessing the information that exists in memory that is used to access the system.
/sbin System execution Files (binary), these files are not intended to be used by ordinary users. (normal users can still use them, but specify a directory.) )
/ tmp temp file. The directory will be cleaned up automatically.
The/ usr directory contains all commands, libraries, documents, and other files. These files will not be changed during normal operation. This directory also contains the main applications for your Linux distribution, for example, Netscape.
The/ var directory contains files that were changed during normal operation: Spool files, record files, lock files, temporary files, and page format files.
The home directory of the /root system administrator (also called superuser or root user).
/opt Optional applications, such as KDE under REDHAT 5.2 (REDHAT 6.0, KDE in other xwindows applications, main execution program in/usr/bin directory)
/lost+found files recovered during file system repair
Linux directory structure