Linus under each catalogue

Source: Internet
Author: User

/boot bootloader files

Placing system boot-related files

Columns such as: Vmlinux-xxx's kernel, master bootstrapper grub,initrd

/lib System Library

Contains library files that support binaries located under/bin and/sbin/

The library file is named ld* or lib*.so.*

Columns such as: ld-2.12.2.so,libgcc.so.5.6

/etc: Configuration file

Contains the required configuration files for all Programs

It also contains startup and shutdown shell scripts for starting/stopping a single program. For example:/etc/resolv.conf,/etc/hosts,/etc/host.conf,/etc/passwd

/var variable file

var represents a variable file.

This directory contains files that can grow in content

Columns such as: System log file (/var/log), database file (/var/lib), e-mail (/var/mail), print queue (/var/spool), lock file (/var/lock), multiple restarts of required temporary files (/var/tmp);

/SRV Service Data

SRV Representative services

Contains data related to server-specific services

/PROC: Process Information

The Linux kernel provides a mechanism for proc file systems to access kernel internal data structures at run time, and to alter kernel setup mechanisms. The proc file system is a virtual file system that only exists in memory and does not occupy external memory space. It provides an interface for accessing system kernel data in a file system manner.

Contains information about the process that is running. Columns such as:/proc/{pid} directory containing information related to specific PID

system resources exist as textual information.

Gca

/proc/devices devices that have been loaded and sorted

/proc/modules List of all modules loaded into the kernel

/proc/driver Driver Information

/proc/cpuinfo CPU Device Information

/proc/stat All CPU activity information

/proc/meminfo Memory Device Information

/proc/net Network card Device information

/proc/diskstats Obtaining disk information

/proc/mdstat multi-drive, RAID configuration information

/proc/ide IDE Device Information

/PROC/SCSI SCSI Device Information

/PROC/FS File System Information

File system types currently supported by the/proc/filesystems kernel

/proc/tty TTY Device Information

/sys

The/sys directory and/proc store the same information, but/sys is able to change the information, and/proc can not change the information

/bin: User binary files

Storing binary executables, in single-user mode, the common Linux commands you need to use are located in this directory, and the commands used by all users of the system are set here. For example: PS, ls, ping, grep, CP

/sbin: Binary system binaries

The same is the binary executable file, and/bin, the difference is that the Linux command in this directory is a system administrator, maintenance use. For example: Iptables, reboot, Fdisk, ifconfig, swapon commands

/USR software program

USR is the abbreviation for UNIX System resource, which contains the source code for binaries, library files, documents, and level two programs.

/dev: Device files

Special files for storing devices, including terminal equipment, USB or any device connected to the system. Columns such as:/dev/tty1,/dev/usbmon0

/MNT Mount Directory

System administrators can temporarily mount file systems

/media removable media devices

Used to temporarily mount removable media devices

Columns such as: Mount the CD-ROM/media/cdrom, mount the floppy disk drive/media/floppy;

/tmp temp file

Contains the system and user-created temporary files, and when the system restarts, the files in this directory will be deleted

/lost+fount

The system does not shut down properly, and some homeless files are placed in the directory. A hard drive is mounted to the/disk, and the directory will generate the/disk/lost+found directory


Linus under each catalogue

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.