Show Menu
Cheatography

Linux Keyboard Shortcuts Cheat Sheet (DRAFT) by

Use Linux command line like a pro by mastering these Linux terminal shortcuts and increase your productivity. It's a must for any power Linux user.

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Move the cursor

Line
Ctrl + A
<-- To the beginning of the line.
Line
Ctrl + E
--> To the End of the line.
Word
Alt + B
<-- One word Backward.
Word
Alt + F
--> One word Forward.
Char
Ctrl + B
<-- One character Backward.
Char
Ctrl + F
--> One character Forward.
 

Delete

Line Ctrl + U
<-- Erase everything from the current cursor position to the beginning of the line.
Line Ctrl + K
--> Erase everything from the current cursor position to the end of the line.
Word Alt + D
--> The word after the cursor.
Word Alt + Delete
<-- The word before the cursor.
Word Alt + Backspace
The last word.
Word Ctrl + W
Delete the command or word preceding the cursor.
Char Ctrl + H
<-- Remove the last character typed.
Ctrl + Y
Paste the deleted text on the current cursor position.