[Linux] Ubuntu directory meaning

Source: Internet
Author: User

/boot/: Startup file, all files related to system startup are saved here

/boot/grub/:grub boot-related configuration files are here

/dev/: All device files are saved in this directory, for example, partitions used:/dev/hda,/dev/cdrom, and so on.

/proc/: Kernel and process mirroring

/mnt/: This directory is primarily used as a mount point

/media/: Mount media device including floppy disk, CD-ROM, DVD and other device files

/root/root User's home directory

/home/user name/: Normal user's home directory, when creating a general user account, the default User home folder is in this directory

/bin/: A command that all users can execute is placed in this directory

/sbin/: This directory places commands that are generally only available to root users

/lib/: System Library file directory

/etc/: The System program and the global configuration file for most applications are in this directory

/etc/init.d/: SYSTEMV-style startup script

/etc/rcx.d/: A link to the startup script that defines the RunLevel

/etc/network/: Network configuration file

/ETC/X11/: Graphical interface configuration file

/lost+found: Contains recovery files when the system is repaired

/proc: This directory itself is a virtual file system. It puts the data in memory, such as the system kernel, process, etc.

/sys: A virtual file system that primarily records kernel-related information. This directory also does not account for hard disk capacity

/USR:USR is not the user's abbreviation, but the abbreviation for UNIX software resource, the "UNIX Operating system software resource" placed in the directory, not the user's data. This directory
Equivalent to the Windows operating system "C:\Windows\" and "C:\Program files\" The combination of the two directories, after the installation of the system, this directory will occupy the most hard disk capacity

/usr/bin: Most of the commands that the user can use are placed here

/usr/include: Header file (head) and target file (include) for programming languages such as C + +

/usr/lib: A library of applications including the object file, such as a JVM directory underneath it, is Java

/usr/local: The system administrator downloads self-installed software (software provided by default from the Ubuntu distribution) in this directory. This directory also has BIN,ETC, include, Lib and other subdirectories.

/usr/sbin: System commands that are required for non-system normal operation. The most common is the daemon command for some Web server software, such as Nginx, NTPD, mysqld

/var: if/usr is a directory that occupies a larger hard disk capacity during installation,/var is the directory that gradually consumes the hard drive capacity while the system is running. Includes cache caches, log logs, and files generated by some software operations, including program files (lock file, run file). MySQL database files are also placed in this directory, specifically for the/var/lib/mysql/directory

/var/cache: Application Cache Directory

/var/lib: Data files to be used during the execution of the program

/var/lock: It is a soft link to the/run/lock directory, and some devices or files can only be used by one application at a time

/var/log: Log file directory

[Linux] Ubuntu directory meaning

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.