Navigation

ShortcutAction
⌃ + AMove to start of line
⌃ + EMove to end of line
⌥ + BMove back one word
⌥ + FMove forward one word
⌃ + BMove back one char
⌃ + FMove forward one char
⌃ + XXToggle between start and cursor
⌃ + PPrevious command (same as ↑)
⌃ + NNext command (same as ↓)
⌥ + Left clickMove cursor to click position
HomeMove to start of line
EndMove to end of line

Editing

ShortcutAction
⌃ + UCut from cursor to start
⌃ + KCut from cursor to end
⌃ + WCut word before cursor
⌥ + DCut word after cursor
⌃ + YPaste last cut text
⌃ + TSwap current and previous char
⌥ + TSwap current and previous word
⌃ + _Undo last edit
⌃ + HDelete char before cursor (backspace)
⌃ + DDelete char under cursor (or exit shell)
⌥ + DeleteDelete word before cursor
⌃ + LClear screen (keep current line)

History

ShortcutAction
⌃ + RSearch command history
⌃ + PPrevious command (same as ↑)
⌃ + NNext command (same as ↓)
⌃ + GCancel history search
!!Repeat last command
!$Last argument of previous cmd
!abcRun last command starting with abc
⌃ + RReverse search history
⌃ + GCancel reverse search
⌃ + OExecute found command
!!Repeat last command
!$Last argument of previous command
!*All arguments of previous command
!abcRun last command starting with "abc"
historyShow command history

Process Control

ShortcutAction
⌃ + CKill current process
⌃ + ZSuspend current process
⌃ + DExit / EOF
⌃ + LClear screen
⌃ + SStop output to terminal
⌃ + QResume output to terminal
⌃ + SPause output (freeze terminal)
⌃ + QResume output (unfreeze)
Ad Slot — Mid Content (Responsive In-Article)
💡

What Is This?

  • Reference for terminal and CLI keyboard shortcuts
  • Covers Bash/Zsh line editing and history navigation
  • Includes tmux and screen session shortcuts
  • Essential shortcuts for job control and navigation
  • Boost command-line speed and efficiency
🛠️

How to Use

  1. Browse terminal shortcuts by category
  2. Search for specific actions or key combinations
  3. Review shortcuts for your specific shell — Bash, Zsh
  4. Practice in your terminal to build muscle memory
  5. Reference tmux and screen shortcuts for session management
🎯

Use Cases

  • Speeding up command-line editing and navigation
  • Navigating command history more efficiently
  • Managing terminal sessions with tmux and screen
  • Learning CLI shortcuts as a new developer
  • Reducing typing with line editing shortcuts
Ad Slot — Bottom (300×250 Rectangle)