Learn Linux I personally think the first need to understand the system does not give the directory of the details of what to do, so in later learning and in the use of Linux system in the process will be more effective.
- /bin Main content is the system's running files, but the/bin in the running file is more special said, can say/bin in the running files in no matter what the user in any state can run, mainly cat,chmod chown date MV mkdir CP Frequently used commands such as Bash
- /boot This directory mainly put the files that will be used to boot, including the Linux kernel files and the boot menu and the required configuration files, etc.
- / Dev in Linux no matter what device and interface devices are in the form of files that exist underneath this directory
- /etc system basic configuration files are almost put in this directory, for example, to change the host table, it is necessary to find the Hosts file in the directory to change
- /home This is the default User master directory for the system, just like the user directory in Windows system
- The/lib system has many function libraries, and/lib places the library of functions that will be used at boot time, as well as the function libraries that are called by commands below/bin/sbin.
- /media in this directory are removable devices, including CD-ROM and other devices are mounted in this directory
- /opt This is the directory that is placed for third-party software
- /root the system administrator's home directory, which is separate from the general account, the general account's residence directory is placed in//
- /sbin placed below the/sbin for the boot process required, which contains the boot, repair, restore the system required by the command
- /SRV the abbreviation for service is the data directory that is required for these services after some network services are started
- /tmp is actually a cache directory for temporary files, and this file can be visited by anyone, no matter what.
To come down mainly about/usr This directory is the third-party software default installation location, it is recommended that all software installed in the directory subdirectory, do not create a new software directory
- /usr/bin/ The majority of users can use the command in this directory, it is different from the/bin is related to the boot process
- /usr/include The header files in the program language such as C + + + are placed in this directory
- /usr/lib includes function libraries for each application, and executable files or scripts that are not commonly used by the general user
- /usr/local To install the software (third-party software) you download
- /usr/sbin System command required for non-system normal execution, can be a command of its own definition
- /usr/share where to place shared files
- /USR/SRC location where source code is placed
A brief talk about/var this directory, the main content is some software generated files, such as cache, log files, data files and so on
Folder configuration for Linux