Skip to main content

Terminal shortcuts

Your answer helps keep this page right.

Do these shortcuts work for you?

The Terminal app’s own shortcuts manage windows, tabs, text size and scrollback. The command line inside it uses standard shell editing keys. Split Window into Two Panes shows two parts of the same session, and marks let you jump between commands in long output.

SetappAd
A shortcut to the best Mac apps

An essential toolbox for macOS and iOS.

Start with these

Tips for Terminal

  • New Tab with Same Command ⌃⌘T opens a tab that runs the same command as the current one.
  • Show or Hide Inspector ⌘I shows the running processes and settings of the current window.
  • Make Fonts Bigger ⌘+ and Make Fonts Smaller ⌘- change the text size of the current window.
Jump to section

Windows & Tabs30

ActionShortcut
New window
New Window with Same Command
New tab
New Tab with Same Command
Show or Hide Tab Bar
Show All Tabs
New command
New remote connection
Show or Hide Inspector
Edit title
Edit background color
Make Fonts Bigger
Make Fonts Smaller
Next window
Previous window
Next Tab
Previous Tab
Split Window into Two Panes
Close split pane
Close tab
Close window
Close other tabs
Close all
Scroll to top
Scroll to bottom
Page up
Page down
Line up
Line down
Show all tabs or exit tab overview

Command Line12

ActionShortcut
Move backward one character
Delete forward to end of word
Move forward one word
Delete backward to beginning of word
Move forward one character
Delete to the end of the line
Move insertion point to beginning of line
Move backward one word
Delete one character
Move insertion point to end of line
Delete the line
Transpose two characters

Command Line Editing8

ActionShortcut
Move to Beginning of Line
Move to End of Line
Move Forward One Word
Move Backward One Word
Delete Line
Delete to End of Line
Cancel Command
Suspend Process

Select and Find18

ActionShortcut
Paste
Paste the selection
Paste escaped text
Paste escaped selection
Cut
Copy
Find next
Open the character viewer
Copy without background color
Find previous
Find
Select all
Copy plain text
Find using the selected text
Jump to the selected text
Find Using Selected Text
Jump to Selected Text
Open Character Viewer

Marks & Bookmarks21

ActionShortcut
Mark
Mark as bookmark
Unmark
Mark Line and Send Return
Send Return Without Marking
Insert bookmark
Insert Bookmark with Name
Jump to Previous Mark
Jump to Next Mark
Jump to Previous Bookmark
Jump to Next Bookmark
Clear to previous mark
Clear to previous bookmark
Clear to start
Select between marks
Send return without marking
Jump to previous bookmark
Jump to next bookmark
Mark line and send return
Jump to next mark
Jump to previous mark

Other20

ActionShortcut
Print
Toggle Use Option as Meta Key
Show alternate screen
Hide alternate screen
Open Man Page for Selection
Search Man Page Index for Selection
Complete Directory or File Name
Open Terminal settings
Break (equivalent to Control-C)
Soft reset terminal emulator
Hard reset terminal emulator
Export text as
Export selected text as
Reverse search command history
Toggle Allow Mouse Reporting
Enter or exit full screen
Show or hide colors
Hide alternate screen
Toggle Use Option as Meta Key
Show alternate screen
Report a problem

GitHub is public. Email is private.

Frequently Asked Questions

How many keyboard shortcuts does Terminal have on macOS?

Terminal has 109 keyboard shortcuts on macOS, organized into 6 sections: Windows & Tabs, Command Line, Command Line Editing, Select and Find, and more. This page lists all of them with searchable, organized shortcut tables.

Which Terminal shortcuts should I learn first?

Start with New tab (⌘T), New window (⌘N), Split Window into Two Panes (⌘D), Close tab (⌘W), Next Tab (⌃Tab), Previous Tab (⌃⇧Tab). The sections on this page list the rest.

Can I download Terminal shortcuts as a PDF?

Yes. Click the download button at the top of this page to generate a printable PDF cheat sheet with all 109 Terminal shortcuts. The PDF includes organized sections, keycap-style key labels, and space for your own notes.

Where is the official Terminal keyboard shortcuts documentation?

The official Terminal keyboard shortcuts documentation is available on their website. Every shortcut on this page is sourced from and verified against the official documentation to ensure accuracy.

Do these Terminal shortcuts work on all Mac keyboards?

Yes. These shortcuts work on all Mac keyboards, including MacBook built-in keyboards and external Apple keyboards. The modifier keys are Command (⌘), Option (⌥), Control (⌃), and Shift (⇧). On keyboards without a Function row, some F-key shortcuts may require holding the Fn key.

Maintained by

Access Terminal shortcuts from your menu bar

KeyShortcut detects the active app and shows its shortcuts instantly. Switch it on in Settings. No memorization needed.