Getting Started with Linux: Common Directory Introduction __linux

Source: Internet
Author: User

First, directory structure

The overall directory structure of Linux is to follow FHS (filesystem hierachy Standard);
/bin: The instructions that are used to store the boot and the instructions that can be used in the single user maintenance mode;/boot: Open access to files, including Linux kernel files, etc./dev: any device;/etc: Configuration file;/home: Directory with head of household;/lib: function library to be used when powering on /media: Automatically mounted directory;/mnt: temporarily mounted equipment;/OPT: third-party software;/root:root user's home directory;/sbin: a command used by the system administrator, which is required at boot time;/srv: A data file to store the service; TMP: Temporary file, recommended to empty;/lost+found: This directory is generally empty, but when a file system error occurs, the missing fragment is placed in this directory;/proc: The virtual file system is in memory and therefore does not occupy the hard disk space;/sys: Virtual file system, recording kernel-related information; Usr:unix software resource, storage system default installed software;/var: Documents for storing system operation process;

ii.. Common catalogue

/BOOT/VMLINUZ_XXXXX: Kernel file;/boot/grub:grub configuration file;/dev/sda: Disk file;/dev/zero: output only 0 devices;/etc/inittab: Set default boot level;/etc/ Init.d/: Service startup script;/etc/fstab: automatically mounted file system;/etc/x11:x window configuration file;/etc/issue:tty1~6 introduction at startup;/etc/passwd: User;/etc/ Shadow: password;/etc/group: User group;/etc/sysconfig/i18n: default language;/proc/cpuinfo:cpu information;/usr/bin: Store most of the commands;/usr/ Sbin: Most of the commands that a system administrator can use;/usr/local: The directory where the user later installs the software;/USR/SRC: storing source code;/usr/include: Storing the C + + header file;/usr/lib: The function library used by the system default software; /usr/share/doc: Software help files;/usr/share/man:man files;/root/install.log: Installing software log,/var/mail and/var/spool/mail: Storing mail;/var/ Cache: Temporary files when the application is running;/var/lock: Application lock;/var/log: Place login file;




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.