CentOS System Catalog Parsing

Source: Internet
Author: User

CentOS System Catalog Parsing

http://mp.weixin.qq.com/s?__biz=MzAxOTAzMzEzNg==&mid=202463614&idx=2&sn= 51c0c5d8326d30b7f2c2e79d45fdb4c2#rd

First, the common color

    • Green: Executable file

    • White: General files, mostly text files

    • Blue: Folder

    • Light blue: Link file (shortcut, LN command established)

    • Red box: Add the SUID bit, arbitrary permission;

    • Red: Compress files

    • Brown: Device Files

    • Green background: Shared, all user readable

Second, the root directory of the meaning of each folder

    • /boot:linux boot files and kernels, such as Lilo, GRUB

    • /INITRD: The memory disk initialized by boot loader (boot loader initialized RAM disk), and boot loader loads the initrd file of the storage media into memory before the Linux kernel boots. When the kernel starts, it accesses the Initrd file system in the memory before accessing the real root file system;

    • /bin:linux commonly used commands;

    • /sbin: Store the management program used by the system administrator;

    • /var: Files that are often modified, such as logs, data files. If necessary, the directory should be set to a large space at the time of installation;

    • /etc: various configuration files and subdirectories used in system management, such as network system, file system, x system configuration file, device configuration information, setting up user information, etc. if you are a Web server, you should set this directory to a large space;

    • /dev:linux all peripherals used, such as Cd/dev/cdrom, you can see the optical drive files;

    • /MNT: The directory defaults to 2 folders that correspond to the optical drive and floppy drive respectively. Can temporarily hang other file system in this directory, such as: Mount Optical drive mount/dev/cdrom/mnt/cdrom, view optical drive: Cd/mnt/cdrom; When not in time Uninstall: Umount/mnt/cdrom;

Third, User class folder:
    • /root: Super User's home directory

    • /home: The following are the user's main directory

Iv. Application class folder:
    • /usr: User's applications and files

    • /lib: System dynamic Link Library

Five, the Information class folder:
    • /proc: System information can be obtained in this directory. This information is not stored on the hard disk;

    • Misc: Files that can be stacked and temporarily transferred by multiple users;

    • Lost_found: Abnormal shutdown temporary files;

CentOS System Catalog Parsing

Related Article

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.