Linux-ubuntu Common subdirectories and their roles

Source: Internet
Author: User
Tags system log

Ubuntu system when locating files or directory locations, use "/" to separate them (different from the anti-\ in Windows). Throughout the tree structure, a separate "/" is used to denote the root directory, which is the starting point of the Ubuntu file system, where the partition is called the root partition. Ubuntu Systems will create special subdirectories--common subdirectories and their role:

█/boot: This directory is the directory where the system kernel is stored, and also the directory of files required for system startup, such as Vminuz and

Initrd.img. Creating a partition for the boot directory while installing Ubuntu facilitates backup of the system.


█/bin: is the abbreviation of binary. Holds commands that are available to all users, such as LS, CP, etc.

█/dev: Saved device files such as/DEV/HDA1,/dev/cdrom, etc.

█/etc: Saved files on system setup and management.

█/home: The default working folder (and host directory, home directory) for all normal system users, such as the host directory for user account "Teacher", is located in "/home/teacher/". If the server needs to be provided to a large number of ordinary users it is recommended to also establish a separate partition for user data backup.

█/root: This directory is the host directory for Ubuntu system Administrator (Superuser) root, and by default only the root user directory is under "/" instead of "/".

█/sbin: Store the most basic management commands in Ubuntu, the General Administrator user has permission to execute.

█/user: Used to store other user applications.

█/var: The storage System frequently changes some files, such as System log files, user mailbox directory, in practical applications, "/var" directory is often divided into separate partitions.

This article is from the "Liudebao" blog, make sure to keep this source http://wwwliudebao.blog.51cto.com/12403244/1885282

Linux-ubuntu Common subdirectories and their roles

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.