The Mac Terminal Commands Cheat Sheet
The Mac Terminal Commands Cheat Sheet
The Mac Terminal Commands Cheat Sheet
20, 16:00
Command Action
Shortcuts
Tab Auto-complete file and folder names
Go to the beginning of the line you're
Ctrl + A
currently typing on
Go to the end of the line you're currently
Ctrl + E
typing on
Ctrl + U Clear the line before the cursor
Ctrl + K Clear the line after the cursor
Ctrl + W Delete the word before the cursor
Swap the last two characters before the
Ctrl + T
cursor
Esc + T Swap the last two words before the cursor
Ctrl + L Clear the screen
Ctrl + C Kill whatever you're running
Ctrl + D Exit the current shell
Option + → Move cursor one word forward
Option + ← Move cursor one word backward
Ctrl + F Move cursor one character forward
Ctrl + B Move cursor one character backward
Ctrl + Y Paste whatever was cut by the last command
Puts whatever you're running into a
Ctrl + Z
suspended background process
Ctrl + _ Undo the last command
Basics
/ (Forward Slash) Top level directory
https://www.makeuseof.com/tag/mac-terminal-commands-cheat-sheet/ Page 1 of 7
The Mac Terminal Commands Cheat Sheet 06.04.20, 16:00
https://www.makeuseof.com/tag/mac-terminal-commands-cheat-sheet/ Page 2 of 7
The Mac Terminal Commands Cheat Sheet 06.04.20, 16:00
https://www.makeuseof.com/tag/mac-terminal-commands-cheat-sheet/ Page 3 of 7
The Mac Terminal Commands Cheat Sheet 06.04.20, 16:00
How to Customize the Mac Terminal and Make It More Useful The
Terminal app on your Mac is powerful, but it's a bit bland out of the box.
https://www.makeuseof.com/tag/mac-terminal-commands-cheat-sheet/ Page 6 of 7