macOS Terminal keyboard shortcuts

Terminal is the command-line app that ships with every Mac, wrapping your shell in native tabs, split panes, and search. Its shortcuts combine macOS window management with the emacs-style line editing built into zsh and bash. Knowing both layers makes the command line dramatically faster. This cheat sheet covers 49 default shortcuts.

Windows & Tabs

New windowCmd+N
New tabCmd+T
Close tabCmd+W
Close windowCmd+Shift+W
Next tabCtrl+Tab
Previous tabCtrl+Shift+Tab
Show next tabCmd+Shift+]
Show previous tabCmd+Shift+[
Switch to tab 1-9Cmd+1-9
Minimize windowCmd+M
Enter full screenCtrl+Cmd+F
Quit TerminalCmd+Q

Split Panes

Split window into two panesCmd+D
Close split paneCmd+Shift+D

Text, Search & Display

CopyCmd+C
PasteCmd+V
Select allCmd+A
FindCmd+F
Find nextCmd+G
Find previousCmd+Shift+G
Use selection for findCmd+E
Clear scrollbackCmd+K
Make text biggerCmd+Plus
Make text smallerCmd+Minus
Restore default font sizeCmd+0
Show inspectorCmd+I
Open Terminal settingsCmd+,

Shell Line Editing (zsh/bash)

Move to beginning of lineCtrl+A
Move to end of lineCtrl+E
Move forward one characterCtrl+F
Move backward one characterCtrl+B
Delete from cursor to end of lineCtrl+K
Delete from cursor to start of lineCtrl+U
Delete word before cursorCtrl+W
Paste (yank) last deleted textCtrl+Y
Transpose last two charactersCtrl+T
Delete character under cursorCtrl+D
Autocomplete file or command nameTab
Move cursor to clicked position in command lineOption+Click

Process & History Control

Interrupt (kill) current processCtrl+C
Send EOF / exit shellCtrl+D
Suspend current processCtrl+Z
Clear screenCtrl+L
Search command history (reverse)Ctrl+R
Cancel history searchCtrl+G
Previous command in historyCtrl+P
Next command in historyCtrl+N
Pause terminal outputCtrl+S
Resume terminal outputCtrl+Q

Put your top macOS Terminal shortcuts on real keys

The five macOS Terminal actions most worth binding to a physical macropad key:

Ctrl+R Search command history Recalling past commands is the single biggest speed-up on the command line.
Ctrl+C Interrupt current process The emergency stop; instant access matters when a command runs away.
Cmd+K Clear scrollback A clean slate before every new task or demo, one tap away.
Cmd+T New tab Power users open tabs constantly for parallel shells.
Ctrl+A Move to beginning of line Editing long commands starts with jumping to the front to fix the command name or add sudo.

I hand-build small-batch programmable macropads (QMK/VIA) in Barcelona. One press, any shortcut, any app.

See the macropads

macOS Terminal shortcut FAQs

How do I clear the Terminal screen on Mac?
Press Ctrl+L (or run the clear command) to clear the visible screen, or Cmd+K to also wipe the scrollback buffer so nothing remains above.
Why does Ctrl+C not copy in macOS Terminal?
In the terminal, Ctrl+C sends an interrupt signal that stops the running process. Copy and paste use the Cmd key instead: Cmd+C and Cmd+V.
How do I jump to the start or end of a command line?
Use the shell's emacs-style bindings: Ctrl+A moves to the beginning of the line and Ctrl+E to the end. Option+Click also moves the cursor to where you click.
How do I search my command history in Terminal?
Press Ctrl+R and start typing; the shell shows the most recent matching command. Press Ctrl+R again for older matches, Enter to run, or Ctrl+G to cancel.
My Terminal froze and nothing types. What happened?
You probably pressed Ctrl+S, which pauses terminal output (XOFF flow control). Press Ctrl+Q to resume.