While using Terminal on your Mac with commands, then using keyboard shortcuts is an efficient way to do things faster. While working with the window and tabs to editing commands to choosing and finding text, here’s a complete list of Mac keyboard shortcuts for the terminal. Let’s come and take a look:
Contents
The Terminal window and tabs
Here are the keyboard shortcuts that can help you to navigate and take action with the Terminal window and tabs. Follow them carefully:
Open A New:
- Window: Command + N
- Window with the same command: Control + Command + N
- Tab: Command + T
- Tab with the same command: Control + Command + T
Show:
- The tab bar: Shift + Command + T
- Tab overview: Shift + Command + \ (backslash)
- Inspector: Command + I (capital letter “i”)
- Next window: Command + ` (grave accent)
- Previous window: Command + Shift + ~ (tilde)
- Next tab: Control + Tab
- Previous tab: Control + Shift + Tab
Close:
- Tab: Command + W
- Other tabs: Option + Command + W
- Window: Shift + Command + W
- All: Option + Shift + Command + W
Here’s a list of navigating within windows and tabs:
Scroll to the:
- Top: Command + Home (Fn + Left Arrow)
- Bottom: Command + End (Fn + Right Arrow)
Page:
- Up: Command + Page Up (Fn + Up Arrow)
- Down: Command + Page Down (Fn + Down Arrow)
Line:
- Up: Option + Command + Page Up (Fn + Up Arrow)
- Down: Option + Command + Page Down (Fn + Down Arrow)
Command-line shortcuts
Now let’s come and work with your command lines easier with these shortcuts.
- New command: Shift + Command + N
Move the insertion point:
- Point: Option + Move the pointer
- To start off the line: Control + A
- Point to the end of the line: Control + E
- Forward: Right Arrow
- Backward: Left Arrow
- Forward one word: Option + Right Arrow
- Backward one word: Option + Left Arrow
Delete:
- To the start of the line: Control + U
- To the end of the line: Control + K
- Character: Delete
- Forward one character: Fn + Delete
- Forward one word: Option + D
- Backward one word: Control + W
Text keyboard shortcuts
Choose or find text in the Terminal window with the help of these keyboard shortcuts.
Select a:
- Word: Double-click the word
- Line of text: Triple-click the line
- File path or URL: Shift + Command + Double-click the file path or URL
- All: Command + A
Basic Commands:
- Cut: Command + X
- Copy: Command + C
- Paste: Command + V
- Find: Command + F
- Move to selected text: Command + J
- Export text as: Command + S
- Export selected text as: Shift + Command + S
Find:
- Next: Command + G
- Previous: Command + Shift + G
- With selected text: Command + E
Mark & Bookmark shortcuts
Check and uncheck, add bookmarks, remove, and much more with these shortcuts.
- Mark: Command + U
- Mark a bookmark: Option + Command + U
- Unmark: Shift + Command + U
- Mark line and return: Command + Return
- Return without marking: Shift + Command + Return
- Insert bookmark: Shift + Command + M
- Add bookmark with name: Option + Shift + Command + M
Move to:
- The next mark: Command + Down Arrow
- The previous mark: Command + Up Arrow
- Next bookmark: Option + Command + Down Arrow
- Previous bookmark: Option + Command + Up Arrow
Clear to the:
- Previous mark: Command + L
- Previous bookmark: Option + Command + L
- Start: Command + K
Conclusion:
Hopefully, these keyboard shortcuts for Terminal on your Mac will help you to enhance your productivity. Is this article helpful? Let us know your thoughts in the comment section below!
Also Read: