Terminal is an application on Mac that controls the functions of the Operating System using specific commands. These commands will be base on what one needs to do.

Just like the windows operating system, it uses command prompt while Mac OS uses terminal.

The terminal is also known as the command line interface. Terminal helps us to do more works within a short period and  this why it is necessary for us to learn the shortcuts which will help us to navigate the application easily.

How To Open Terminal.

  • Click on the spotlight icon at the upper-right corner of your screen
  • In the search box, type “terminal”. Wait for the terminal icon to appear on the screen
  • Double click on the terminal icon for it to open.

Below are the list of terminal commands and their shortcuts.

Terminal window and tabs.

  • Open a new window: Command + N
  • Open a new window with the same command: Control + Command + N
  • Open a new tab: Command + T
  • Open a new tab with the same command: Control + Command + T
  • Show the tab bar: Shift + Command + T
  • Show tab overview: Shift + Command + \ (backslash)
  • Show 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
  • Close other tabs: Option + Command + W
  • Close window: Shift + Command + W
  • Close all: Option + Shift + Command + W
READ ALSO:  Motorola razr specifications and review.

Navigating windows and Tabs.

  • Scroll to the top: Command + Home (Fn + Left Arrow)
  • Scroll to the bottom: Command + End (Fn + Right Arrow)
  • Page up: Command + Page Up (Fn + Up Arrow)
  • Page down: Command + Page Down (Fn + Down Arrow)
  • Line up: Option + Command + Page Up (Fn + Up Arrow)
  • Line down: Option + Command + Page Down (Fn + Down Arrow)

Command lines shortcuts

  • New command: Shift + Command + N
  • Move insertion point: Option + Move the pointer
  • Move insertion point to start of line: Control + A
  • Move insertion point to end of line: Control + E
  • Move insertion point forward: Right Arrow
  • Move insertion point backward: Left Arrow
  • Move insertion point forward one word: Option + Right Arrow
  • Move insertion point backward one word: Option + Left Arrow
  • Delete to the start of the line: Control + U
  • Delete to the end of the line: Control + K
  • Delete a character: Delete
  • Delete forward one character: Fn + Delete
  • Delete forward one word: Option + D
  • Delete backward one word: Control + W
READ ALSO:  Mega Discount Online Store Ghana Expands its products range & introduce new retail shopping experience

Text Keyboard Shortcuts.

Find text in terminal with these keyboard shortcuts.

  • Select a word: Double-click the word
  • Select a line of text: Triple-click the line
  • Select a file path or URL: Shift + Command + Double-click the file path or URL
  • Select all: Command + A
  • Cut: Command + X
  • Copy: Command + C
  • Paste: Command + V
  • Find: Command + F
  • Find next: Command + G
  • Find previous: Command + Shift + G
  • Find with selected text: Command + E
  • Move to selected text: Command + J
  • Export text as: Command + S
  • Export selected text as: Shift + Command + S

Mark and Bookmark 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
  • Insert bookmark with name: Option + Shift + Command + M
  • Move to the next mark: Command + Down Arrow
  • Move to the previous mark: Command + Up Arrow
  • Move to next bookmark: Option + Command + Down Arrow
  • Move to previous bookmark: Option + Command + Up Arrow
  • Clear to the previous mark: Command + L
  • Clear to the previous bookmark: Option + Command + L
  • Clear to the start: Command + K