We are in the Windows system, there is no sense of fast key to make our work more efficient, in the Linux system still have a very useful shortcut keys, these shortcuts can assist us in writing instructions and program interruption, the following describes a few frequently used shortcut keys.
One,tab--space bar
The TAB key is one of the best features of the Linux bash Shell, with command completion and archive completion, but the TAB key can be different in different places to get results oh, the point is to avoid our wrong command and file name, Isn't it great! For example, the Use of tab is introduced.
1, in the terminal input PW, and then press the Tab key, will be the beginning of the command of PW display, so you can avoid the memory of the command and distress, this is the function of command completion
[Email protected]:~$ pwpwck pwconv pwd pwdx pwunconv
2, in the terminal input Ls-al ~/.bash and then two tab key, will be in this directory all the. bash files are displayed, this is the function of file completion
[email protected]:~$ ls-al ~/ . bash.bash_history. bash_logout . BASHRC
It's a good practice to use the TAB key to avoid many typos.
Second, CTRL + C
When you enter a wrong command or parameter in Linux, sometimes this command will cause the program to run under the system, this time you want to do, this order can prevent the occurrence of this thing, such as you in the terminal input
[Email protected]:~$ Find/
At this point, your system will run a few things, and when you want to terminate, you can use this key combination.
Third, Ctrl+d
This key combination represents the end of the keyboard input or close the shell, you can actually try.
Iv. crtl+alt+t
Open a shell terminal.
Wu, Ctrl+l
Clear Screen
Liu, Ctrl+u
Clears the contents before the cut cursor.
Seven, Ctrl+k
Clears the cut cursor and the contents after the cursor
Eight, Ctrl+y
Paste clipped content at the cursor
Nine, Ctrl+r
Find History Command "Enter a keyword to bring up previously executed commands"
Ten, Ctrl+x+u
Undo Action
Several important key combinations of Linux