The role of Linux folders

Source: Internet
Author: User

No essays have been written for one weeks, and last week the project went live with a one-week MySQL study, so I didn't update my essay last week. Be sure to keep up to date!!

------------------------------------------

/bin

binary abbreviation, which stores binary files for the commands that are frequently used in Linux.

/usr/bin

Binary files that store some preinstalled software for post-installation, such as the binaries for the gzip command

/usr/local/bin

Binary files for user-installed third-party software commands

/sbin,/usr/sbin/,/usr/local/sbin

As in the above, the difference between S is that the administrator uses the command to store the place

/home

Store the normal user's home directory, Linux does not add a normal user, will be in the home of a new folder, the name of the folder is the new user's username

/root

Root User's home directory

/lib

Store dynamic link library files, so-called library files are similar to DLL files in Windows

/lost+found

Under normal circumstances is empty, after the user illegal shutdown, the inside stored some files

/etc

All of the system's configuration files are placed here.

/usr

Most of the applications installed in Linux are placed in this directory, similar to the Windows Program Files directory

/boot

Store the core files you need to start Linux

/proc

This directory is a virtual directory, it is the mapping of system memory, we can access this directory directly to obtain system information.

/srv

Service abbreviation, which holds data that needs to be extracted after some services have been started.

/sys

This is a big change in the linux2.6 kernel. This directory installs a new file system Sysfs that appears in the 2.6 kernel. (Excerpt from the Internet)

/tmp

Storing temporary files

/dev

All the devices in the Linux system are abstracted into files, and these abstracted files are placed in this directory.

/media

The system identifies the USB flash drive, the optical drive, etc. will be mounted to this directory

/mnt

Users mount some temporary file systems for the user

/opt

Third-party software installed on the system can be placed in this directory

/var

Keep growing files, such as MySQL database files placed under this directory

/selinux

SELinux is a security subsystem that can control programs to access only certain files.

The role of Linux folders

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.