(2) directory structure of Linux system

Source: Internet
Author: User
Tree-l 1/View root directory
View Sub-disc ls/dev/sda*
Application/usr/bin
Data files to help/usr/share
Configuration File/etc/
Startup file/etc/init.d
Summary
1) All Linux directory bodies are a hierarchical, upside-down, tree-shaped directory structure
2) Root "/" is the vertex of all directories, ancestors.
3) There is no relationship between the directory structure and the partition device.
4) All catalogs are organized and named according to certain categories
5) Uname Printing System Information
Cat/dev/null >/bigman/a.txt How to empty a file
/Boot Store Program
/dev Device Directory
/etc configuration file and startup directory
Home directory for normal users
/proc display kernel and process information virtual file system
Cat/proc/meminfo Viewing memory information
Cat/proc/cpuinfo View CPU Image
Directories for/bin and/sbin/and Usr/sbin management commands
/tmp Temp file directory
/var directory, typically a directory of log files
/usr user programs, data, help files, etc.
Cat/var/log/messages Checking system logs
Cat/var/log/secure Check System login security log

(2) directory structure of Linux system

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.