Basic directory names, nomenclature, and functional provisions for Linux distributions

Source: Internet
Author: User

Linux:

Files: can write data

Directory: Can not write data directly, you can store files, equivalent to the folder under Windows

You can view information such as the type of Linux file by Ls-1/root or ll/root command:

Plain file-Black C-language source code, shell script, binary executable file. Divided into plain text and binary

Catalog file D Blue the only place to store files

Executable file-Green Ll/usr/bin

Link File | Light blue/sky blue is equivalent to a shortcut under Windows (not Royal right)

Package-Red

Special file C B soil yellow c--character Device---Interface device with serial port-keyboard, mouse

B--Block devices---Interface devices that store data for system access--hard drives, etc.

Pipe file (P-yellow is used to resolve errors caused by multiple programs accessing a file

Socket file (socket) s Lavender color We can listen to the client's network communication, the client through the socket to communicate


Linux directory structure:


/bin Storage System Command

/boot holds the system's boot file and kernel

/dev Device File home directory (device not here, specific device information/proc directory)

/PROC system process and system hardware information

/etc System main profile home directory Windows installed QQ, installation directory in E: disk, C disk will also write the corresponding QQ software information

The QQ file of the C-drive is called the Master profile (System file)---/etc

The file of the QQ installation directory of e-disk is called the configuration file (functional file)---/var

/var system configuration file home directory

Home directory for normal users

/lib&lib64 directory. dll for system library file storage

/usr system Help documentation and source package installation location Source package does not belong to Redhat, belongs to the vast number of hobby developers

The USR directory is the largest directory, the applications and files to be used almost all in this directory

/sbin the directory that the Superuser uses to store the command

/MNT User Mount Directory

/run the directory where the library is currently running (currently running directory)

/root Super User root home directory

/tmp temporary files stored in the directory system will generate some temporary files during startup, these temporary files are stored in the TMP directory

If the TMP directory does not have storage space, the system must not start up

/media removable media mount point

/OPT third-party application file storage directory


Basic directory names, nomenclature, and functional provisions for Linux distributions

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.