Terminal Icon

Shortcuts for Terminal

You can use these shortcuts to save time while using Terminal.

Action
Shortcut

Select a word

Double-click the word

Select a complete line of text

Triple-click the line

Add the complete path to a file

Drag the file from the Finder into the Terminal window

Create a new shell window

Command (⌘) + N

Enter a new command to be run

Shift + Command (⌘) + N

Connect to a server

Shift + Command (⌘) + K

Save

Command (⌘) + S

Save as

Shift + Command (⌘) + S

Save text as

Option + Command (⌘) + S

Save selected text as

Shift + Option + Command (⌘) + S

Show information about the Terminal window

Command (⌘) + I

Change the window title

Shift + Command (⌘) + T

Send break

The break command is equivalent to entering Control + C on the command line.

Send reset

Command (⌘) + R

Send hard reset

Option + Command (⌘) + R

Page setup

Shift + Command (⌘) + P

Print

Command (⌘) + P

Cut

Command (⌘) + K

Copy

Command (⌘) + C

Paste

Command (⌘) + V

Paste the selection

Shift + Command (⌘) + V

Select all

Command (⌘) + A

Copy style

Option + Command (⌘) + C

Paste style

Option + Command (⌘) + V

Find

Command (⌘) + F

Find next

Command (⌘) + G

Find previous

Command (⌘) + Shift + G

Find using the selected text

Command (⌘) + E

Jump to the selected text

Command (⌘) + J

Open the character viewer

Option + Command (⌘) + T

Show fonts

Command (⌘) + T

Make fonts bigger

Command (⌘) + “+”

Make fonts smaller

Command (⌘) + “-”

Next Terminal window

Command (⌘) + `

Previous Terminal window

Command (⌘) + ~

Next Tab

Command (⌘) + }

Previous Tab

Command (⌘) + {