How to look at your command history list in macOS’s Terminal

With the Terminal in macOS, you can save lots of time and type less by using the command history functions built into the Terminal shell. The shell keeps a record of the commands you run, and you can access this history with a few simple keystrokes to run commands again or edit them so you don’t have to retype them. .

You can check to see what commands are in your history at any time by running the history command.

Read more