First, the Linux system basic directory name and function

Source: Internet
Author: User

The main directory and directory content in the Linux operating system is defined by the FileSystem hierarchy standard (Filesystem Hierarchy STANDARD,FHS), which in most cases is a traditional BSD file system hierarchy.

1,/: Root at the top of the Linux file system tree structure, it is the entry of the file system, all directories, files, devices are under the root directory;

2,/bin: The directory holds the most common system most important commands, is in a separate file form, the files in this directory are executable files and is a common user can use the command, the system's most basic commands are here;

3,/usr: The directory is the place of the system storage procedures, such as ordinary commands, Help files, installation of software, etc.;

4,/var: the contents of the directory is constantly changing,/var under the/var/log directory used to store the system's log directory,/var/www directory used to define the Apache server site storage directory,/var/lib used to store some library files;

5,/sbin: Most of the system management commands are stored in the directory, it is the root user executable command storage place, general directory Sbin contains the commands are root permissions to execute;

6, the/root:linux system super-privileged user's home directory;

7,/home: The normal user's main directory is stored in this directory by default;

8,/etc: The directory is the location of the system configuration files, some server configuration files in this directory;

9,/dev: Device file storage directory, the directory is all Linux external device files;

10./boot: Files required to store Linux kernel and boot system programs;

11,/OPT: This directory is an optional package installation directory;

12./tmp: This directory is used to store temporary files;

13,/lib: This directory is used to store the library files, this directory contains the system's most basic shared library;

14,/mnt: This directory is used to store mounted storage device directory;

15,/proc: The operating system runtime process (running process) information and kernel information (such as CPU, hard disk partition, memory information, etc.) storage place,

First, the Linux system basic directory name and function

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.