linux-(1) Linux tree file system structure and the role of each folder

Source: Internet
Author: User

The Linux file system is an inverted single tree structure.

The root of the file system is "/"

Everything in Linux is a file.

As shown in the following:


The functions of each folder are as follows:

Bin: Holds executable files that can be executed by all users.

Boot: Store system boot, start related content. The vmlinux is the kernel file.

Dev: The file that holds the hardware device. Because everything in Linux is a file, the hardware is also abstracted into files.

ETC: This directory holds operating system-related configuration files

Home: An ordinary user's home directory. Each user has a private directory in this directory (in addition to the root user)

LIB: Repository file

Lost+found:ext folder for file system

Media: Automatically mount a directory, such as a USB flash drive. But not all Linux has this directory.

MNT: Manually mounted devices typically use this directory

Opt: A directory that installs large software, such as Oracle

Proc: This directory contains real-time information about the operating system. Does not exist on the hard disk and only exists in memory

Root:root User's home directory

Sbin: Executable file (different from bin directory) that can only be executed by superuser (root)

SYS: hardware information at the bottom of the system

TMP: Temp directory, the contents of which will be automatically deleted by the system.

USR: This directory is typically used to install application software

var: This directory user holds frequently changing information, such as logs.

linux-(1) Linux tree file system structure and the role of each folder

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.