The purpose and function of the Linux next folder

Source: Internet
Author: User

/boot:linux boot files and kernels, such as Lilo or grub files

/INITRD (boot loader initialized RAM disk): The memory disk initialized by boot loader, boot loader will load the initrd file from the silver disk into memory before the Linux kernel boots. The Initrd file system that accesses the memory before the kernel starts to access the real root file system

/bin (binary): standard commands and applications

/OPT: Third-party software is installed to this directory by default when installed, similar to Windows "ProgramFiles"

ETC: various configuration files and subdirectories to be used in system management, such as network configuration file, System file, x system configuration file, configuration information, setting up user information, etc.

/dev: Interfaces that are included with the terminal and external devices, Linux files and devices are accessed in the same way, and each device on the system should have a corresponding device file here

/home: Where the user's main directory is stored, the general/home/username is the owner's directory

/lib (Library): Storage System of the most basic dynamic link library, almost all of the programs are used in this directory of the shared library

/lost+found: When the system fails (such as the system power down), when the machine starts some files can not find where should be stored, temporarily put in this folder, this directory is automatically generated by MKFS

/mnt: Empty directory is where the user hangs on the filesystem

/proc: Linux provides a virtual system, is generated by the system at the time of startup in memory, the user can directly access these files to obtain system information, such as/proc/kcore is the system when the memory of the image file

/root: Super User's home directory

/sbin: System Management programs used by super users, such as Fsck,mount, etc.

/tmp (TEMPORARY): Store the temporary files generated by different program execution, this is a directory that can be used by ordinary users except/user/local directory, this directory will not be deleted automatically at startup, so it needs to be cleaned regularly

/var: Stores the things that are constantly expanding, in order to ensure the relative stability of the/Usr folder, those frequently modified directories can be placed in this folder

/var/log: Log files for the system

/misc (Miscellany): For multi-user accumulation and temporary transfer of their own files

/usr: The largest directory in the Linux system, where many of the users ' applications and files are almost stored, here are some of the more important sub-directories:

/USR/X11R6: Store XFree86 directory, all XWINDOWDE related programs are put here

/usr/bin: Most programs used by the user

/usr/sbin: Super-use hypervisor and System daemon

/usr/doc: Documents that store Linux

/usr/include: Developing the header files required for compiling applications under Linux

/usr/lib: Common dynamic-link libraries and static archives

/usr/local: For users to install new software, the directory structure and/usr are similar.

/usr/man: folder to store Linux online Help

/USR/SRC: The source code of the storage system, there is a/usr/src/linux directory is used to store the system kernel source code, the time to recompile the kernel is in this directory, some applications will use this header file


The purpose and function of the Linux next folder

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.