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)