Shutdown-k does not shut down and warns the user
-R Immediate Shutdown restart
-H shutdown does not restart
-C Cancel a run shutdown
Example: Shutdown-h now shutdown does not restart
Shutdown-r +10 10 minutes after restart
- Sudo-i getting permission
- Su root convert root user
4.PWD See which directory is currently in
5.CD Switch Directory CD: Back to previous level
6.clear Clear Screen
7.ls-l View all information
-A Show hidden information
Example: ls/tmp/viewing files in the TMP directory
8.mkdir Creating a Directory
9.rmdir Delete Empty Directory
10.rm-f/directory Name/delete directory
11.RM-RF/directory Name/delete file
12.CP file name/tmp/copy file to tmp
13.cp-r/root/./Copy all files to the root directory
14.MV file name modify file name modify file name
15.MV filename Directory name move file
16.touch Creating files
17.find/-name "file name" Find files in/directory
18.cat Viewing file contents
19.VI File name edit file
CentOS ALT+CTRL+F2 Command mode
ALT+CTRL+F1 Exit Command mode
CTRL + C display
留个小尾巴20180517
Novice first time contact with Linux CentOS