Description of the "Linux" file directory

Source: Internet
Author: User
Tags log log syslog

/root directory. Generally does not contain any files, except for the possible standard system-guided mappings, usually called/vmlinuz. All other files in the rootThe subdirectory of the file system.
/bin commands used by general users
/boot Place the kernel and the Lilo, grub and other guidance programs (bootloader) files for booting.
/dev hard disk, partition, keyboard, mouse, Usb,tty and so on all the device files are placed in this directory.
All the configuration files of the/etc system are stored in this directory.
/home User space, all users are using this space. For example, we purchased the VPS installed Kloxo or the Webmin panel default website file data are stored in this directory.
/lib shared connection libraries, such as C libraries and C compilers, and so on.
/media directory for devices such as CD-ROM
/MNT Mobile DevicesFile System hang Point
/OPT Store the user application that was subsequently appended
The/PROC proc file system is a fake file system. It does not exist on a disk on disk. Instead, the core is generated in memory. Used to provide information about the system (originally aboutprocesses, hence the name). Some of the most important files and directories are described below. The/proc file system is described in more detail in the Procman page.
/PROC/1 the directory of information about process 1. Each process has a directory named its process number under/proc.
/proc/cpuinfo processor information, such as type, manufacturer, model, and performance.
/proc/devices a list of device drivers for the currently running core configuration.
/PROC/DMA Displays the DMA channel currently in use.
/proc/filesystems the file system of the core configuration.
/proc/interrupts shows the interrupts used, and how many of each there has been.
/proc/ioports the I/O port currently in use.
/proc/kcore System physical memory image. It's exactly the same size as the physical memory, but it doesn't really take up so much memory; (remember: Unless you copy it somewhere,/proc doesn't occupy any disk space.) )
/proc/kmsg the core output message. is also sent to the syslog.
/proc/ksyms core symbol table.
/proc/loadavg system "average load"; 3 meaningless indicators indicate the current workload of the system.
/proc/meminfo memory usage information, including physical memory and swap.
/proc/modules which core modules are currently loaded.
/root the user directory of the root user.
/sbin the commands required to store the system management. Similar to/bin, but not for ordinary users
/tmp temp file directory, cleared when restarted
The/usr/usr file system is often very large because all programs are installed here. All files in/usr are generally from linuxdistribution;/usr some subdirectories are listed below (some of the less important directories are omitted, for more information see FHS).
/usr/bin standard commands for users and administrators. Some commands are in/bin or/usr/local/bin.
/usr/include standard include files for various development locales
/usr/lib connection libraries for applications and packages
/usr/local system administrator installs the application directory, locally installed programs and other things under/usr/local. This may not require reinstalling all of the programs when upgrading a new version of the system or distribution.
/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 Table of contents (optional)
/usr/share/man System User Manual
/usr/share/misc General Data
/USR/SHARE/SGMLSGML data (option)
/usr/share/xmlxml data (option)
/var/var includes data to be changed when the system is generally running. Directories that store application data and log records. Each system is specific, i.e. it is not shared with other computers over the network. /var/cache Application Cache Directory
/var/account Processing account log (option)
/var/crash system error messages (options)
/var/games Game Data
/var/lib various status data
/var/lock file lock record. Many programs follow the convention of creating a locked file in/var/lock to support their use of a particular device or file. Other programs Note that this lock file will not attempt to use this device or file.
/var/log log files for various programs, in particular login (/var/log/wtmplog all to system login and logoff) and Syslog (/var/log/messages stores all core and system program information. The files in the/var/log often grow in uncertainty and should be cleaned up regularly.
/var/mail Email
Variable data for the/var/opt/opt directory
Marking data for the/var/run process
/var/spool mail, news, print queues, and other queue work directories. Each of the different spool has its own subdirectory under/var/spool, for example, the user's mailbox is in/var/spool/mail.
/var/tmp temp file directory. Temporary files that are larger or need to exist longer than/tmp.

Description of the "Linux" file 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.