~ RMM
Terminal Shortcuts

Terminal Shortcuts Cheat Sheet

KeysmacOS1Description
Ctrl+A⌃+AMove cursor to the beginning of the line
Ctrl+E⌃+EMove cursor to the end of the line
Ctrl+B⌃+BMove cursor back one character
Ctrl+F⌃+FMove cursor forward one character
Alt+B⌥+BMove cursor back one word
Alt+F⌥+FMove cursor forward one word
Ctrl+U⌃+UDelete from cursor to beginning of line
Ctrl+K⌃+KDelete from cursor to end of line
Ctrl+W⌃+WDelete the word before the cursor
Ctrl+D⌃+DDelete the character at the cursor
Alt+D⌥+DDelete the word after the cursor
Ctrl+T⌃+TTranspose (swap) the two characters before cursor
Ctrl+Y⌃+YPaste the last deleted text (yank)
Ctrl+L⌃+LClear the screen (like clear command)
Ctrl+_⌃+_Undo the last editing command
KeysmacOS1Description
Ctrl+R⌃+RReverse search through command history
Ctrl+S⌃+SForward search through command history (may be disabled)
Ctrl+G⌃+GExit history search mode
Ctrl+P⌃+PPrevious command in history
Ctrl+N⌃+NNext command in history
UpUpPrevious command in history
DownDownNext command in history
!!!!Repeat the last command
!cmd!cmdRepeat last command starting with cmd

Process Control

KeysmacOS1Description
Ctrl+C⌃+CInterrupt (kill) the current process
Ctrl+Z⌃+ZSuspend the current process
Ctrl+D⌃+DEnd of input (logout or exit if prompt is empty)
Ctrl+Q⌃+QResume terminal output if stopped
Ctrl+S⌃+SStop terminal output (freeze)
Ctrl+\⌃+\Quit and dump core (force quit)

Copy and Paste (Terminal Emulator Specific)

KeysmacOS1Description
Ctrl+Shift+C⌘+CCopy selected text
Ctrl+Shift+V⌘+VPaste clipboard text
Shift+Insert⌘+VPaste clipboard text (alternative)
Shift+Ctrl+T⌘+TOpen a new tab (in supported terminal emulators)
Shift+Ctrl+W⌘+WClose current tab (in supported terminal emulators)

  1. Command, Control, Option, Shift ↩︎ ↩︎ ↩︎ ↩︎