The Linux system directory is the hot dog

Source: Internet
Author: User
Tags system log

1, root directory/(root user's home directory)
Each file and directory is started from the root directory.
Only the root user has write access to the directory.
It is important to note that/root is the home directory of the root user, while the user's home directory for normal users is/home/user

Home directory for normal user
/sbin/bin Store the commands used by the user.
The commands in/sbin/only allow root users to be used by Superuser. The normal user uses the commands under the/bin/directory. such as LS Cat VI
Iv. Boot/boot system startup related files, namely: boot loader related files.

[Email protected] ~]# ls/boot/
config-3.10.0-514.el7.x86_64 initramfs-0-rescue-16b3e1f1592341f8abd834add3b42bf5.img initrd-plymouth.img Vmlinuz-0-rescue-16b3e1f1592341f8abd834add3b42bf5
Grub Initramfs-3.10.0-514.el7.x86_64.img symvers-3.10.0-514.el7.x86_64.gz vmlinuz-3.10.0-514.el7.x86_64
GRUB2 initramfs-3.10.0-514.el7.x86_64kdump.img system.map-3.10.0-514.el7.x86_64
V./dev device files.

Includes terminal equipment, USB, or any device connected to the system. For example:/dev/tty1,/dev/usbmon0

Vi./lib/lib64 System Library files

Common commands rely on library files, and you can use Ldd/bin/ls to view the LS-dependent library files

Seven,/media automatically mount the directory, default is empty. Currently more commonly used, such as U disk, DVD, etc.

Eight,/mnt manual mount directory, default is empty

Ix./proc Process Information

A virtual file system that contains information about a running process. For example: The/proc/{pid} directory contains information related to a specific PID.

X. Temporary files produced by the/run process

XI./var variable file

Files that may grow in content can be found under this directory.
This includes-system log files (/var/log), Package and database files (/var/lib), e-mail (/var/mail), print queue (/var/spool), lock file (/var/lock), and multiple restarts of required temporary files (/var/ TMP);

12./etc Configuration file
Contains the configuration files that are required for all programs.
Also includes startup and shutdown shell scripts for starting/stopping a single program

The Linux system directory is the hot dog

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.