Introduction to the functions of the files under the Ubuntu root directory

Source: Internet
Author: User

There are a lot of folders in the root directory of Ubuntu, but do you know what files they have stored? These are some of the things you need to know about the Ubuntu system, so here's how to do this.

The/bin/is used to store binary executable command files.

/sbin/the storage location of many system commands,/usr/sbin/also includes many commands.

/root/Superuser, the root user's home directory.

/home/The default directory for ordinary users, where each user has a folder named after the user name.

/boot/store Ubuntu kernel and system boot files.

/boot/grub/grub bootloader related files

/mnt/typically includes mount points for file systems that are mounted after system boot.

/dev/storage device files, including all external devices of the computer, such as the hard disk, yes, keyboard, mouse, and so on.

/etc/Store file Management profiles and directories (System files and global profiles for most applications).

/ETC/INIT.D/SYSTEMV-style startup script

/etc/rcx.d/systenv a link to a startup script that defines the RunLevel

/etc/network/Network configuration file

/etc/x11 Graphical Interface configuration file

/lib/stores the shared library files required by various programs.

/lost+found/is generally empty, when the illegal shutdown, will store some scattered files.

/var/is used to store a lot of constantly changing files, such as log files.

/usr/includes files and directories directly related to system users

/usr/bin/executable file (application) based on user commands

/usr/sbin/Administrator Application

/usr/lib/Application Library files

/usr/share/Application Resource Files

/usr/src/Application Source Code

/usr/local/soft/User Program

/USR/X11R6 Graphical Interface System

/media/stores the device files that are automatically mounted on the Ubuntu system.

/proc/This is a virtual directory, which is a mapping of memory, including system information and process information.

/tmp/temporary information for storage systems and users.

The/initrd/is used to load the initrd.img image file that is temporarily mounted at startup and to load the desired device module directory.

/opt/as a directory for optional files and programs, you will not be able to boot the computer into the operating system.

/srv/the service data provided by the storage system.

/sys/the system device and file hierarchy, and provides detailed kernel data information to the user program.

The above is just a simple introduction, more detailed information on their own to explore, do not understand when Baidu AH.

Introduction to the functions of the files under the Ubuntu root directory

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.