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