20190916-01linux file and directory structure

1./bin is Binary abbreviation This directory is the most frequently used commands

2./sbin s is the Super User's meaning here is stored in the hypervisor system administrators

3./home normal user's home directory storage, each user in Linux has its own directory, the directory name is based on the general user account named

4./root the directory for the system administrator, who is also known as super user directory permissions

5./lib system boot required basic dynamic link shared libraries, its role is similar to Windows in the DLL file. Applications used in almost all need to use these shared libraries

6./lost+found this catalog under normal circumstances is empty, when the system illegal shutdown, some files stored here.

7.etc all need is a system management configuration files and subdirectories

8./usr This is a very important directory, many applications and user files are placed in this directory, similar to the program files directory under windows

9./boot stored here are some of the core files that are used when you start Linux, including some connection files and image files, install own do not go here

10./proc This directory is a virtual directory, which is the system memory map, we can get system information directly access this directory by

11./srv service abbreviation, the directory to store some of the data to be extracted after the service starts

12./sys This is a big change Linux2.6 kernel. In this directory a 2.6 kernel file system sysfs emerging Installation

13./tmp This directory is used to store temporary files

14./media Linux system will automatically identify some devices, such as a U disk, CD-ROM, etc., when the identification, Linux identified device will mount the directory

15./mnt system provides this directory is to enable users to temporarily mount other file systems, we can use an external memory mounted on / mnt, and then enter the directory you can see what's inside

16./opt This is for the host to install additional software placed in the directory. For example, you install a mysql database you can put this directory. The default is empty

17./var this directory is stored in the ever-expanding stuff, we used those often revised catalog in this catalog. Including various log files

18./selinux SELinux is a security subsystem, it can control the program can only access a particular file

Guess you like

Origin www.cnblogs.com/YUJIE666/p/11531150.html