Execute commands and run tools in Terminal on Mac — by Apple Support
Explains how to type a command with its path and arguments, stop a running command with Control-C and recall earlier commands with the Up Arrow.
macOS
6 curated resources, easiest first.
Explains how to type a command with its path and arguments, stop a running command with Control-C and recall earlier commands with the Up Arrow.
Introduces Terminal as the command-line app on macOS and points to running commands, looking up commands in manual pages and trying scripting.
Shows how to open Terminal from Spotlight or the Utilities folder, quit it, and end a shell session by typing exit.
Explains that Terminal uses zsh by default and how to change which shell new windows launch in Terminal's General settings.
Apple's table of contents for Terminal, covering windows, settings and profiles, shell scripts and automation, plus pointers to UNIX manual pages.
Explains how to run commands with administrator rights using sudo, switch users with su, and why to avoid the root account.