Linux system file structure

bin:short for binary executable file, save common command binary files, all users can execute

sbin: executable binary. super binary. Only root user can execute

boot: boot directory, including unix kernel files

dev: short for device . Save all hardware devices on the computer. In Linux, all hardware is abstracted into a file

etc: All OS related configuration files.

home: Save the user's data, documents, etc. There is no user in the operating system, and there will be a folder named after the user in the home folder.

   The root user's files are not in the home folder, there is a separate root folder.

lib: linux runtime library file

media: for automatic mounting, U disk, etc., not all operating systems have it.

mnt: for mounting, all operating systems have it, which can be equivalent to media

opt: used to install some large software.

proc: some real-time information of the system, which does not exist on the hard disk, but exists in the memory

sys: system bottom operating information, including some low-level hardware information

tmp: temporary directory, will be automatically deleted

usr: save the application software we installed, the general software is installed in usr by default, and the large ones are installed in opt

var: Save some information that changes frequently, such as log (system log)

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325752025&siteId=291194637