Article directory
Linux directory structure
directory name | Function Description |
---|---|
/root | administratorThe host (home) directory |
/home/xxx | other than root userThe parent directory of the normal user's home directory |
/bin | store binary files,All user-executable commands. It is actually a soft link, linking to /usr/bin |
/sbin | To store binary files, onlyAdministrator can executemanagement commands. Soft link to /usr/sbin |
/boot | System kernel, boot file directory |
/dev | depositdevice file(CD-ROM, HDD, etc.) |
/etc | depositSystem programs and most applications(rpm, yum installation) configuration file |
/was | storage canchanged files, including various log files |
/lib | The dynamic link shared library file (similar to the DLL file in Windows) that stores the system program. soft link to /usr/lib |
/usr | depositsystem usertools and programs |
/media | Removable media mount point, such as U disk, CD-ROM, etc. |
/mnt | Directory for temporarily mounting storage devices |
/opt | third party applicationThe directory where the installation is stored |
/tmp | storage systemTemporary Files, the temporary files in the /tmp directory will be deleted periodically by the system or automatically deleted when the system shuts down |
/proc | depositmap system informationdocument. |
/proc | is a pseudo file system (i.e.virtual file system), which storesCurrent kernel running statusA series of special files that allow users to view information aboutsystem hardwareandInformation about currently running processes, and even change the operating state of the kernel by changing some of these files. |