Linux Directory Notes

Source: Internet
Author: User



/bin: User command Directory (command file directory that can be executed by all users)

/dev: Computer equipment directory (all files on Linux, devices on the computer are displayed as files in this directory, but this is only the entry of the device, it cannot be entered as a directory CD or run directly as a program)

/home: A directory of user directories in the home directory with a user directory name. Ps: Users can only access their own directories and cannot access other users ' directories

/lost+found: Fragmented file directory, when the computer suddenly loses power, the directory can retrieve files that have not yet been saved.

/misc: Put miscellaneous not good collation file directory, generally no files.

/net: Same as the misc directory

/proc: Pseudo directory, there is no file on the hard disk, kernel mapping file (control system kernel-related)

/sys: is also a pseudo file system, with hardware device-related property mapping files (such as hard disk)

/sbin: Manage command Directory (Administrator)

/tmp: Temp directory, everyone can access and modify (only to modify their own)

/var: store data directory, such as site directory, database files, log files and so on, ordinary users can not be modified, only readable

/boot: The system startup file directory with the Linux kernel files of the IMG file type beginning with initrd-

/etc: All programs and system configuration files directory, configuration file for text Format file

/lib: library file for program calls, suffix. So equivalent to DLL files in Windows

/media: Generally mobile device mount directory, previously said the Dev directory inside the device is directly inaccessible, it is to mount, like a CD-ROM, u disk is mounted in the media directory, mounted after the CD into the access device;

/MNT: Mount the extra hard drive class, similar to the media directory

/OPT: Third-party program installation directory (now Linux Convention, installation is not in the directory anymore)

/root: The Super Admin directory, like the user's home directory, is just separate.

/usr: global shared read-only file,/bin/sbin/lib the command directory required for system startup

/usr/bin/usr/sbin/usr/lib These directories are directories that are required to provide critical services when the system is started. (one for system boot, this for basic service)

These are the third-party programs installed, running directories, such as MySQL or something (previously said/opt directory is now not the standard third-party software installation directory)
/usr/local/bin
/usr/local/sbin
/usr/local/lib

This article is from the "Horic xx wo" blog, please be sure to keep this source http://zhlqx.blog.51cto.com/8430475/1533386

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.