Linux directory Configuration

Source: Internet
Author: User

FHS the three-tier directory defined for the directory tree structure:

/root directory: Related to power on/restore/system repair

/usr (Unix software Resource): Related to Software Installation execution

/var (variable): Related to System operation process

/bin: Instructions to be able to operate in single-person maintenance mode (Cat,chmod,chown,date,mv,mkdir,cp,bash)

/boot: Place the boot use file, including the Linux core file Box boot menu, the Linux krenel file name is: Vmlinuz

/dev: Device and interface devices are stored in this form in a file (/dev/null,/dev/zero/,/dev/tty/,dev/hd*/dev/sd*)

/etc: The system main configuration file is stored here directory (/etc/inittab/,/etc/init.d/,/etc/fstab/,/etc/sysconfig)

/home: System Default User House directory (home directory)

~ Represents the current user's home directory

~ Dmtsai represents Dmtsai's home directory

/lib: function library for system boot-up

/media: Place removable device (/media/floppy/,/media/cdrom/)

/MNT: Mount some additional devices

/OPT: Third-party software placement Directory

/root: System administrator (Root) home directory

/sbin: Boot, repair, restore system instructions (FSDISK,FSCK,IFCONFIG,INIT,MKFS) used in the boot process

/SRV: The Data Directory (/SRV/WWW) that these services need to use after the network server is started

/tmp: Where a general user or an executing program temporarily places a file, anyone can access

/lost+found: Only directories that are generated using the Ext2/ext3 file system, typically used for file system errors, place missing fragments in this directory

/pro: This directory itself is a virtual file system (filesystem) where data is placed in memory and does not take up hard disk capacity (/proc/cpuinfo/,/proc/dma/,/proc/interrupts/,/ proc/ioports/,/proc/net/)

/svs: Similar to/proc, is also a virtual file system, mainly records and core-related information, does not account for the drive capacity

This article is from the Linux Operations sharing blog, so be sure to keep this source http://liangey.blog.51cto.com/9097868/1571615

Linux directory Configuration

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.