Home » Tech Tips » Shortcuts » Complete List of Mac Terminal Keyboard Shortcuts

Complete List of Mac Terminal Keyboard Shortcuts

Terminal is a command-line interface (CLI) in Mac which allows users to interact with the Unix based macOS operating system. You can make use of this app for various purposes which can’t be done from the graphical user interface (CGI). If you are already using or want to use the Terminal app in Mac, learning the keyboard shortcuts can help to finish the tasks quickly.

Note: Windows operating system also has a Terminal app as a command-line interface. If you have wrongly landed in this article, check out the complete keyboard shortcuts for Windows Terminal app.

Mac Terminal Keyboard Shortcuts

You can find some of the keyboard shortcuts by navigating through the menu items. For example, pressing “Command D” will split the app window and “Command Shift D” will close the previously split pane. You can find these shortcuts under “View” menu. However, there are many other shortcuts which are not part of the default menu items. For example, you can press “Control A” and “Control E” to move the cursor to start / end of the line. This kind of stuffs will make your life easier for moving the cursor to required position and adjust the command.

So, below is a table listing complete keyboard shortcuts for Mac Terminal app:

Terminal ShortcutPurpose
⇧ ←Select text leftward
⇧ →Select text rightward
⇧ ↑Select text upward
⇧ ↓Select text downward
⇧ ⇞Scroll Terminal output one page up
⇧ ⇟Scroll Terminal output one page down
⌃ ↑Scroll Terminal output one line up
⌃ ↓Scroll Terminal output one line down
⌃ ⇥Show next tab
⌃ ⇧ ⇥Show previous tab
⌃ AMove to beginning of the line
⌃ BMove cursor backward one character
⌃ CTerminate the current command
⌃ DDelete the character under cursor (same as Delete)
⌃ EMove to end of the line
⌃ FMove cursor forward one character
⌃ HDelete the character before cursor (same as Backspace)
⌃ KDelete from the cursor to end of the line
⌃ LClear screen
⌃ RSearch command history (type to search, press Enter to execute)
⌃ TSwap last two characters before cursor
⌃ UDelete from the cursor to beginning of the line
⌃ WDelete the word before cursor
⌘ –Smaller font
⌘ ,Open Terminal Settings
⌘ `Cycle through windows Terminal
⌘ ↑Jump to previous mark
⌘ ↓Jump to next mark
⌘ ↩Mark line and send return
⌘ ⇞Page up
⌘ ⇟Page down
⌘ ⇧ [Switch between tabs in the same window, backward
⌘ ⇧ ]Switch between tabs in the same window, forward
⌘ ⇧ \Show all tabs
⌘ ⇧ ↑Select to previous mark
⌘ ⇧ ↓Select to next mark
⌘ ⇧ ↩Send return without marking
⌘ ⇧ ⇟Show alternate screen
⌘ ⇧ ASelect between marks
⌘ ⇧ CShow colors
⌘ ⇧ FHide find bar
⌘ ⇧ GFind previous
⌘ ⇧ IEdit title (through Inspector)
⌘ ⇧ KNew remote connection
⌘ ⇧ MInert bookmark
⌘ ⇧ NNew command
⌘ ⇧ SExport selected text from Terminal
⌘ ⇧ THide tab bar
⌘ ⇧ UUnmark
⌘ ⇧ VPaste selection
⌘ ⇧ ZRedo last action
⌘ ⇱Scroll to top
⌘ ⇲Scroll to bottom
⌘ +Bigger font
⌘ ⌃ ?Open man page for selection
⌘ ⌃ ⇧ CCopy text without background color
⌘ ⌃ ⇧ VPaste escaped selection
⌘ ⌃ ⌥ /Search man page index for selection
⌘ ⌃ ⌥ CCopy plain text
⌘ ⌃ ⌥ LFill screen
⌘ ⌃ ⌥ RHard reset the app
⌘ ⌃ LClear screen
⌘ ⌃ NOpen new window with the same command
⌘ ⌃ TOpen new tab with the same command
⌘ ⌃ VPaste escaped text
⌘ ⌥ ↑Jump to previous bookmark
⌘ ⌥ ↓Jump to next bookmark
⌘ ⌥ ⇞Jump to previous line
⌘ ⌥ ⇟Jump to next line
⌘ ⌥ ⇧ ↑Select to previous bookmark
⌘ ⌥ ⇧ ↓Select to next bookmark
⌘ ⌥ ⇧ MInsert bookmark with name
⌘ ⌥ 1 to 9Go to tab 1 to 9
⌘ ⌥ HHide others
⌘ ⌥ IEdit background color (through Inspector)
⌘ ⌥ KClear scrollback
⌘ ⌥ LClear to previous bookmark
⌘ ⌥ MMinimize all
⌘ ⌥ OUse Option as meta key
⌘ ⌥ PPrint only the selected text
⌘ ⌥ QQuit and keep windows
⌘ ⌥ RReset the app
⌘ ⌥ UMark as bookmark
⌘ ⌥ WClose all windows
⌘ 0Default font size
⌘ ASelect all text
⌘ CCopy selected text
⌘ DSplit pane
⌘ EUse selection for find
⌘ FFind within Terminal app
⌘ GFind next
⌘ HHide Terminal
⌘ IShow Inspector
⌘ JJump to selection
⌘ KClear to start
⌘ LClear to start of selection
⌘ MMinimize
⌘ NOpen a new window
⌘ OOpen
⌘ POpen print dialog box
⌘ QQuit Terminal
⌘ RAllow mouse reporting
⌘ SExport text content from Terminal
⌘ TOpen a new tab
⌘ TabSwitch between applications
⌘ UMark
⌘ VPaste text from clipboard
⌘ WClose the current tab or window
⌘ XCut selected text
⌘ ZUndo last action
⌥ ←Move cursor one word backward
⌥ →Move cursor one word forward
⌥ ⌫Delete the word before the cursor
Fn + ↑Scroll to the top of Terminal output
Fn + ↓Scroll to the bottom of Terminal output
Fn + EEmoji & symbols (open Character Viewer)
Fn + FEnter full screen
Fn ⌫Forward delete (delete the character to the right of the cursor)

Mac Keyboard Keys

If you are not familiar with Mac keyboard keys, here is an explanation. Note that the availability of some of these keys depend on your Mac / keyboard model. Generally, you will not find Page Up or Page Down keys in MacBook keyboard layout while they are part of Magic Keyboard with numeric pad.

  • Command – ⌘
  • Control – ⌃
  • Option – ⌥
  • Shift – ⇧
  • Delete – ⌫
  • Page Up – ⇞
  • Page Down – ⇟
  • Up Arrow – ↑
  • Down Arrow – ↓
  • Left Arrow – ←
  • Right Arrow – →
  • Home – ⇱
  • End – ⇲
  • Tab – ⇥
  • Function or Globe – Fn

You can download the Mac Terminal keyboard shortcuts as a PDF file for free.

Leave a Comment

Your email address will not be published. Required fields are marked *