linux root directory

1. /bin binary Binary
stores many executable program files
in the system to execute related instructions, such as ls pwd whoami, the background support file directory


2. /sbin super binary
stores many executable program files in the system, many instruction support files, and is
a support file for the root administrator to execute instructions, such as init

3. /usr unix system resource operating system resource file directory
, similar to the C:/Program Files directory of the windows system,
is the system software installation

/usr/bin The storage directory of the "normal command file"
formed when the software is installed /usr/sbin The storage directory of the "super command file" formed when the software is installed

4. /dev device device directory
The system maps all hardware as files and stores it in this directory
For example: /dev/cdrom is used to point to the "CD-ROM"

5. /home The home directory
will be created in this directory every time a user is added to the system A file directory with the same name is used as
the user's home directory, and the user has absolute authority
to the home directory. Each time a user logs in to the system, he first enters his home directory.

6. /root The home directory of the super administrator root

7. /proc memory-mapped directory
You can view system-related information

8. /var variable Variable, volatile
This directory stores files that change frequently
This directory is used to deploy program projects
/var/www/shop
/var/www/book

9. /boot system startup directory/boot/ initramfs-
2.6.32-504.el6.i686.img is the system kernel file

10. /etc The main configuration file directory of the system
/etc/passwd stores system user information
/etc/group stores system user group information

11. /lib library system resource library directory

12. /selinux secure enhanced linux
is enabled by default, which interferes with software installation

 

Guess you like

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