1 command line daily shortcut keys:
CTRL + Y-paste
CTRL + E-Move cursor to end of line
CTRL + A-Move the cursor to the beginning of the line
ALT + F-Jump down a space
ALT + B-jumps back to the previous space
ALT + Backspace-delete the previous word
CTRL + W-cut the previous word of the cursor
Shift + Insert-Pastes text inside the terminal
2 sudo command
Visudo can set the sudo permissions of different accounts;
3 pausing and running commands in the background
4 Nohup order;
Nohup wget://xxxx.com/a/b/c
5 at command to run the appropriate program at a specific time:
At 10:38 PM friat> cowsay ' Hello ' at> CTRL + D
The above command can run the program Cowsay on Friday 10:38 P.M..
The syntax used is the append date time after ' at '. When the at> prompt appears, you can enter the command you want to run at that time.
CTRL + D returns to the terminal.
6 Manual use of Man
The Man handbook will give you an outline of the commands and parameters used to teach you how to use them. The man handbook looks dull and stiff. (I thought they were not designed to entertain us.)
But that doesn't mean you can't do anything to make them look beautiful.
Export Pager=most
You need to install ' most '; she will make Your Man handbook more colorful.
You can use the following command to set the specified president for the man Manual:
Export manwidth=80
Finally, if you have a browser available, you can use-H to open any of the man pages in the default browser.
Man-h <command>
Note that the above command only works if you set the default browser to the environment variable $browser.
7 Use of the Htop command to view the running process;
Yum install-y Htop may need to be installed with Yum
8 Ranger Command to browse the file system;
9 Cancel Shutdown:
Shutdown-c
Note: If the shutdown has started, it may be too late to stop the shutdown;
Try
Pkill shutdown;
10 a simple way to kill a suspended process:
Simply enter the following command in the terminal and click on the application you want to kill in the window.
Xkill
What if the whole system hangs up?
Press and hold the ' Alt ' and ' SYSRQ ' on the keyboard, then slowly enter the following keys:
You can restart your computer without pressing the power button.
Common Linux terminal commands