First, common shortcut keys
ctrl+l clear screen, equivalent to clear command
Ctrl+o executes the current command and displays this command again at the terminal
Ctrl+s block screen output, lock. (but the input command works, just can't see it)
Ctrl+q Allow screen output ( often used in conjunction with Ctrl+s)
Ctrl + C Terminate Command (Note the difference from CTRL + Z)
For example, enter the command PING+IP address, Linux will continue to ping, then you can input CTRL + C interrupt the current terminal
Ctrl + Z Suspend Command
For example, command ping, input CTRL + Z is paused, and command FG can be used to recover
=============================================================================================================== ====================================
Second, the very use of shortcut keys
ctrl-shift-c Copy the selected text
ctrl-shift-v Paste The text at the current cursor
---The left mouse button is selected to select directly, the middle mouse button is pasted
Alt+n when prompted to enter a specified character, repeat the character n times (n for a specific number)
Some authors may be using the ALT key when they are in use, then you need to open the Option->session options to change the red box to check
CTRL + A cursor moves to the beginning of the command,
Ctrl+e cursor moves to the end of the command line,
can be used in the input command (before execution) too long, need to modify the start and end of the situation
Ctrl+f cursor moves one character to the right
Ctrl+b cursor moves one character to the left
Alt+f Move one word to the right
Alt+b Move one word to the left
CTRL+XX cursor moves back and forth between the beginning of the command line and the cursor
Ctrl+u Delete the contents before the cursor
Ctrl+k Delete the contents after the cursor
Alt+r clears the current entire row
Ctrl+w from the cursor to the beginning of the word (do not delete the command section)
Alt+d right from cursor to end of Word
Ctrl+d Delete a character after the cursor
Ctrl+h Delete a character before the cursor
Ctrl+y Paste the deleted character to the cursor
Alt+c from the cursor to the right to change the first letter capitalized word
Alt+u start at the cursor and change the word on the right to uppercase
Alt+l starts at the cursor and changes the right word to lowercase
Ctrl+t swap cursor at and before character position
Alt+t Swap The position of the word at the cursor and before
Ctrl-shift-n Creating a new window
Ctrl-shift-q Close the current window
CTRL-SHIFT-T Create a tab page
Ctrl-shift-w close a tab page
Ctrl-paup/pgun Switch to next/previous tab
Linux Foundation-bash shortcut keys