Complete Mac Terminal Commands Cheat Sheet
Complete Mac Terminal Commands Cheat Sheet
org /complete-mac-terminal-commands-cheat-sheet/
The Mac Terminal is a powerful tool that allows you to interact with your macOS system
through commands, giving you more control over your device than ever before. Whether
you’re a beginner exploring basic commands or an advanced user looking to
streamline tasks, mastering Mac Terminal commands can significantly increase your
productivity. From managing files and directories to troubleshooting your system or
customizing settings, the Terminal opens up a world of possibilities beyond the standard
macOS interface.
Have you ever searched for ways to navigate macOS faster, fix errors, or
automate tasks? Knowing the right Terminal commands can help you
perform these actions efficiently.
Shortcut Description
Command + T Open a new Terminal tab.
Command + N Open a new Terminal window.
Command + W Close the current Terminal tab or window.
Control + C Cancel the current command or process.
Control + D Exit the current session or close the Terminal window.
Control + Z Pause the current process and send it to the background.
Command + K Clear the Terminal screen.
Shortcut Description
Control + L Clear the screen (similar to Command + K).
Command + Arrow Up Scroll up through previous commands in the history.
Command + Arrow
Scroll down through the command history.
Down
Control + A Move the cursor to the beginning of the line.
Control + E Move the cursor to the end of the line.
Control + U Delete everything from the cursor to the beginning of the line.
Control + K Delete everything from the cursor to the end of the line.
Control + W Delete the word before the cursor.
Control + Y Paste the last deleted text.
Control + R Search the command history.
Resume a paused process (if it was paused using Control +
Control + S
Z).
Control + C Interrupt a running process.
Option + Left Arrow Move the cursor one word left.
Option + Right
Move the cursor one word right.
Arrow
Command + Shift + G Go to a specific directory by entering its path.
Tab Auto-complete file or directory name.
Processes Commands
Homebrew Commands
Output Commands
HELP Commands
Command Description Example
[command] -h Displays basic help information about a command ls -h
[command] -- mkdir --
Provides detailed help and options for a command
help help
[command] help Displays help for the specified command cp help
reset Resets the Terminal display to its default state reset
Shows the manual page for a given command, with
man [command] man ls
details
whatis
Provides a brief, one-line description of a command whatis ls
[command]
Conclusion
It is a bit hard to learn all the Mac Terminal commands mentioned above, but once you get
used to it, it will help you control your system more easily. It might seem tricky at first, but
once you learn the basic commands, it can make your work faster and more efficient. With
the commands and shortcuts in this guide, you’ll be able to navigate macOS, fix problems,
and automate tasks like a pro.