Shotcuts |
Description |
History |
Show command History list |
Ctrl+p |
Show Previous command |
CTRL + N |
Show Next command |
!num |
The NUM command that executes the command history list |
!! |
Executes the previous command |
!? String? |
Executes the most recent command with string strings |
Ctrl+r |
Then enter several characters, start searching up for the command that contains the character, continue pressing ctrl+r, search for the previous matching command |
Ctrl+s |
Similar to Ctrl+r, just forward retrieval |
alt+< |
History list First item |
Alt+> |
Last item in history list |
Ctrl+f |
The cursor moves forward one character |
Ctrl+b |
Move the cursor backward one character |
Alt+f |
The cursor moves forward one word |
Alt+b |
Move the cursor backward one word |
LS!$ |
Executes the command LS, and the parameter of the above command is its parameter |
CTRL + A |
Move to the beginning of the current line |
ctrl+e |
Move to the end of the current line |
esc+b |
Move to the beginning of the current word |
esc+f |
Move to the end of the current word |
ctrl+l |
Clear Screen |
Ctrl+u |
Cut all characters before the cursor in the command line (excluding itself) |
ctrl+k |
Cut all characters (including itself) after the cursor in the command line |
Ctrl+d |
Delete the character at the cursor location |
ctrl+h |
Delete the previous character at the cursor location |
Ctrl+y |
Paste the character you just deleted |
ctrl+w |
A word (delimited by spaces, punctuation, and so on) before the clipping cursor |
Alt+d |
Words after clipping the cursor |
esc+w |
Delete the character that precedes the cursor to the end of its word (delimited by spaces, punctuation, and so on) |
ctrl+t |
Reverses the position of the character where the cursor is located and before it, and moves the cursor to the next character |
Alt+t |
Swap position of current and previous words |
Alt+u |
Convert the current word to uppercase |
alt+l |
Convert the current word to lowercase |
Alt+c |
Capitalize the current vocabulary into the first character |
Ctrl + V |
Insert special characters, such as Ctrl+v+tab join TAB key |
esc+t |
Reverses the position of the cursor and its adjacent words |
CTRL + C |
Delete entire row |
CTRL + (x u) |
Press CTRL while pressing X and u again to undo the action you just made |
Ctrl+s |
Suspend current Shell |
Ctrl+q |
Re-enable the suspended shell |
|
|