Move cursor shortcut keys
Ctrl+f move forward one character
Ctrl+b Move backward one character
CTRL + A moves to the beginning of the current home
Ctrl+e move to the end of the current line
Alt+f move forward one word
Alt+b Move backward One word
Ctrl+l clear the screen and start a new line at the top of the screen
Edit command line shortcut keys
Ctrl+d Delete the current character (the cursor is on a blank command line and will exit the shell)
Alt+d Delete the part from the cursor to the end of the current word
Ctrl+w Delete from cursor to current Word start section
Ctrl+k Delete text until the end of the line
Ctrl+u Delete text until the beginning of the line
Ctrl+t swap the position of the current character and the previous character
Alt+t Exchange The position of the current word and the previous word
Alt+u the current word into uppercase
Alt+l the current word into lowercase
Cut, paste shortcut keys
Alt+d cut from the cursor to the end of the current word
Ctrl+k cut text until the end of the line
Ctrl+u cut text until the beginning of the line
Alt+y Rewind to the previously clipped text and paste it
Other
CTRL + R Find in history commands sometimes it's a long time to find a more complex, directly here, the shell will automatically find and invoke; The characters that follow are automatically searched in the command history cache.
ESC +. Take the last record of the previous command
!string executes the last matching command, for example, the previous command NETSTAT-TLNP, the current command line needs to execute the same command, enter! NET can
Other frequently used items will be updated in the future.
Play the shell command line