Command Guide for Mac & Linux Terminal

Author: Diego Cuevas

Originally published: 11 March 2022

Updated: 25 March 2022


Terminal Icon The Terminal! That mythical app you may come across while exploring your Mac’s or Linux PC’s apps. For most people it’s an utility program which they’ll probably never use, but for a programmer it’s where they’ll live the rest of their lives. Here’s a comprehensive list of useful commands and shortcuts to use while in the Terminal:

Shortcuts:

Basic:

Directory management:

File management:

Permissions:

Disk management:

Package management:

Extra:

Git:

*Usually not pre-installed in the system