Linux-System Catalog Introduction

Source: Internet
Author: User
Tags system log

CentOS 7 system, does not differentiate between 32 bits and 64 bits.
1.man Command tree structure displays command usage
2. Command-help ibid., but not tree-shaped
3.tree function: The tree structure displays subdirectories under a directory.
Note: The runtime will prompt for no such command, so installation is required, Yum install-y tree
Usage: Tree/path
Tree-l 2/etc Display directory, two-tiered subdirectory structure

System directory:
1./bin;/sbin;/usr/bin;/usr/sbin holds some common commands, such as LS, tree, man, VI, mkdir
The difference between bin and sbin:
Sbin: It is generally used by the root user
Bin: Generally used by ordinary users, super users can also use


2./boot system boot file, such as grub file Delete This directory, system cannot start
3./dev device files, such as: CD, HDD, mouse, keyboard
Note: XXX for the device file
/etc configuration file for example: NIC configuration file
4./home User Home Directory,

5./lib,/lib64 system dynamic link library file, similar to the Windows. dll file. Note: Green for library files, class green files for soft links
/media Media directory default is empty, for example: plug in a USB stick, can be automatically recognized in this directory.
6./mnt temporarily hangs in the directory, default is empty, for example: the CD-ROM drive, the newly added hard disk, mount to this directory.
7./opt Oracle is typically installed in this directory
8./proc system boot process, generate PID
9./run the files generated by the system process. A shutdown, it will disappear.
10./srv Save, service-generated files
11./sys saving the system kernel files
Temporary directory for the 12./TMP system. Any user can read and write in this directory, but special permissions, each user can only manage their own files
13./USR user files, MySQL and some other services will be made available under this directory.
14./var log file,/var/messages system log
/var/run pid files are saved in this
How do I view a command that relies on those library files?
Usage: ldd/bin/ls

Linux-System Catalog Introduction

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.