Ubuntu Linux Basic Directory

Source: Internet
Author: User

Original: http://blog.163.com/zhang_runbin/blog/static/137042183201034949375/

Directory Name

Description

/

Linux File system root directory

/bin

Store the most commonly used executables in the system (binary)

/boot

Store Linux kernel and system boot files, including GRUB, LILO launcher program

/dev

Store all device files, including hard disk, partition, keyboard, mouse, USB, TTY, etc.

/etc

Store all configuration files of the system, such as passwd store user account information, hostname host name, etc.

/home

Default location for user home directory

/initrd

The directory where the initrd.img image files are mounted at startup, and the directory where the required device modules are loaded

/lib

Storage of shared library files, including many library files used by programs in/bin and/sbin

/lost+found

Storing fragmented files placed by fsck

/media

Ubuntu system automatically mounts CD-ROM, floppy drive, USB memory, and stores temporary read-in Files

/mnt

This directory is typically used as a mount point for mounted file systems

/opt

As a storage directory for optional files and programs, it is primarily used by 3rd party developers to easily install and uninstall their packages.

/proc

Stores all processes marked as files, which are identified by process numbers or other system dynamic information, such as the Cpuinfo file that holds data for the current working state of the CPU

/root

Home directory for root user (super User)

/sbin

Store more executables (binary), including system management, directory queries and other key command files

/srv

Service data provided by the storage system

/sys

This directory is used to organize or hierarchy the system devices and provide detailed kernel data information to the user program

/tmp

Temporary files for users and programs, all users have read and write access to the directory

/usr

Used to store files and directories directly related to the users of the system, such as applications and library files that support them. The following are some of the important directories in/usr

/USR/X11R6:

X Window System

/usr/bin

Standard commands for users and administrators

/usr/include

Standard include files for various development locales, such as C + +

/usr/lib

Connection libraries for applications and packages

/usr/local

Application directory installed by system administrator

/usr/local/share

Shared files installed by the system administrator

/usr/sbin

Standard commands for users and administrators

/usr/share

Directory of shared files such as user manuals

/usr/share/dict

directory where the thesaurus is stored

/usr/share/man

System User Manual

/usr/share/misc

General data

/usr/share/sgml

SGML Data

Continuation table

Directory Name

Description

/usr

/usr/share/xml

XML data

/var

Typically used to store variable-length files, such as log files and printer files. The following are some of the important directories in/var

/var/cache

Application Cache Directory

/var/crash

System error Messages

/var/games

Game data

/var/lib

Various status data

/var/lock

File Lock record

/var/log

Log records

/var/mail

Email

/var/opt

Variable data for the/OPT directory

/var/run

Process-marking data

/var/spool

A queue directory that stores e-mail, print tasks, and so on.

/var/tmp

Temp file directory

Ubuntu Linux Basic directory (GO)

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.