Common Terminal Shortcuts

🎴 Common Terminal Shortcuts

A clean, card-style cheatsheet for frequently used CLI shortcuts.

🏁 Navigation

⌨️ Control + A
Jump to the beginning of the line.

⌨️ Control + E
Jump to the end of the line.

⌨️ Option + ←
Move cursor left by one word.

⌨️ Option + →
Move cursor right by one word.

✂️ Deleting Text

⌨️ Control + U
Delete everything before the cursor.

⌨️ Control + K
Delete everything after the cursor (including character under cursor).

⌨️ Control + A + K
Delete the entire line.

⌨️ Control + W
Delete the word before the cursor.

⌨️ Esc + D
Delete the word after the cursor.

⌨️ Control + D
Delete character under cursor; exits if nothing to delete.

🧹 Clearing & Stopping

⌨️ Control + L
Clear the screen.

🔄 clear
Clear the screen.

⌨️ Command + K (macOS)
Clear the screen.

⌨️ Control + C
Terminate / interrupt the current command.

📋 Paste / Yank

⌨️ Control + Y
Paste ("yank") the last deleted text. Works with Ctrl + U and Ctrl + K.