5th day of the Linux CentOS study (June 8, 2018)

Source: Internet
Author: User
Tags aliases system log
First, the system directory structure
LS View Directory command
ls/root/viewing directory commands under the root directory
Useradd User Add User1 General user command, this command creates the users file stored under/home/
Tree Command Installation
Yum install-y Tree Install tree command
Tree/Display/root directory structure
Tree--hep show tree Common Items command
The man command displays the file Help
The Man tree command shows the use of the tree command
Tree-l 2/Display directory with a maximum level of 2 under the root directory
PATH environment variable
/sbin Directory The following command is the command directory used by the root super user
/bin directory The following commands are common use commands
The file under the/boot/directory is a system-initiated file that cannot be started after it is deleted
The files under the/dev directory are device files, such as optical drives, hard drives, etc.
/etc directory is the directory file where the system configuration files are located
The/home directory is the user's house directory file
/lib
The/lib64 directory is the directory of the library files (and the window below. DLL file)
/media Media Directory
/proc Process Directory
Temporary files generated by the/run directory process will disappear after reboot
/srv directory store files generated by some services
Files generated by the/sys directory kernel
/tmp Temp directory
/usr System user directory, is a very important directory
/var/log System log directory,
/var/is also a very heavy catalogue.

Second, ls command
Ls-l Show file Details
Ls-i
Ls-la Show all files and directories, including hidden files and directories

Iii. Types of files

Iv. alias Command
Set command aliases
Alias biliang= ' ls-l ' setting alias Biliang is Ls-l
Unalias Biliang Canceling Biliang aliases

5th day of the Linux CentOS study (June 8, 2018)

Related Article

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.