First, the directory file introduction: Everything under Linux files, hard disk is a file, CPU files, network card is also a file, and Linux does not have a suffix name this said, but in order to facilitate user operation, so the use of suffix name to distinguish between different files. 1. All file systems are mounted in the root directory/down
2.boot folder
-
-
- This section points to a hard disk
- Settings related to storage and system startup
- For example, the number of seconds to start at boot
- centos6.x modified in grub.conf folder under Boot/grub/, centos7.x under Boot/grub2/grub.cfg
3.bin Catalog
-
-
- Store some executable files
4.dev Catalog
-
-
- Device Hardware Storage Directory
5.ETC Catalog
-
-
- Store all the configuration files
- To modify the host name example
- Example with NIC configuration
- Configuration file under Etc/sysconfig/network-scripts
- centos6.x NIC Nic name is eth0,1,2
- CentOS7 changed to ENOXXXXXX format
- EN stands for enthernet ethernet, O for onboard built-in
6.home Catalog
7.lib Catalog and lib64 directory
-
-
- Linux is an open source system, the software developed by each company has different dependencies, it will be very confusing, so the Linux system will be used by a number of libraries into these two folders.
- When Linux installs software, Yum is used to solve the library dependency problem.
8.media directory (Mobile Storage)
-
-
- Store some external media (such as: CD-ROM)
- Auto Mount
- Used to mount the CD, u disk and other file system directory, the general system automatically mount CD-ROM, U-disk File system
9.MNT catalog (fixed storage)
-
-
- Mount the optical drive, mount it manually
- Directory of USB devices
- After loading, the contents of the corresponding device will be more in the MNT.
10.USR Catalog
-
-
- The server is used by multiple users, so the common use of the software to the USR directory
11.sbin Catalog
-
-
- System Management Program
- Start, shut down the system
- Increased user reduction
- Modify firewalls, and so on
12.TMP Catalog
-
-
- Temporary data storage points
Introduction to Linux graphical interface and system architecture