Very useful shortcuts that make your life in the terminal easy
Ctrl + A → Move cursor to the beginning of the line. Ctrl + E → Move cursor to the end of the line. Ctrl + R → Reverse search through the command history for a previous command. Ctrl + W → Kill (delete) word to the left of the cursor. Ctrl + L → Clear the screen Ctrl + H → Delete the character to the left of the cursor.
Ctrl + Shift + C → Copy text to clipboard Ctrl + Shift + V → Paste text from clipboard into the terminal. Ctrl + X → Exit from the current mode (e.g., overwriting mode) back to the command line. Ctrl + J → Enter a new line without moving to the next tab stop. Ctrl + P → History browsing – go back in command history Ctrl + N → History browsing – go ahead in command history
Ctrl + Shift + K → Cut from current position to the end of the line and save it in kill buffer for pasting. Ctrl + K → Cut from current position to the end of the line. Ctrl + U → Cut from current position to the beginning of the line. Alt + D → Cut from current position to the end of the word Alt + Backspace → Cut from current position to beginning of the word Ctrl + Y → Paste text from kill buffer into the line at the cursor position.