Introduction to the Linux root directory

Source: Internet
Author: User

1 /bin

Binary binary binary

Many "Execute Program Files" directories corresponding to "directives"

LS pwd init and so on

2 /sbin

Super binary Hyper Binary

Many "Execute Program Files" directories corresponding to "directives"

This directory file corresponds to instructions that the "root" user can execute

Example: Init

3/ usr

Unix System Resource (Unix systems resource Files directory)

The directory is similar to the C:/Program files directory of the win system

This directory is often used to install a variety of software

The software will be installed to the corresponding instructions, the corresponding executable program files are stored in the following directory

/usr/bin

Many "Execute Program Files" directories corresponding to "directives"

/usr/sbin

The executable program Files directory for the command executed by the root user

4/ Dev

Device System hardware directory (all hardware of Linux system is represented by file)

Example:/dev/cdrom is an optical drive

/DEV/SDA is the first SCSI hard drive

5 /Home

User's "Home directory"

For each additional ordinary user of the system, at the same time, will be in the directory for the user set a file directory

Represents the user's "home directory", when the user later uses the system will first enter their home directory

Home Directory name defaults to the current user name

The user has the absolute highest permissions on the home directory

6 /root

The directory is the root administrator's home directory, and the root user enters the directory first after logging in to the system

7 /proc

Memory-mapped directory, which can view hardware information about the system

8/ var

Variable variable, changeable

Files stored in this directory are often changed (added, modified, deleted)

Often used to deploy project program files

/var/www/shop

/var/www/book

9/ Boot

System boot core directory for storing system boot files

Ten/ etc

System main configuration file directory

Example:/etc/passwd file for storing user information

/etc/group files used to store group information

/lib

Library

System resource file Class library directory

/selinux

Secure enhanced Linux security-enhanced Linux

Protection of system formation

Interference when installing software to the system

  

Introduction to the Linux root directory

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.