Terminal is an app you use to perform tasks using a command line interface (CLI) in macOS.
showing the command line with ls command and a list of file results." width="467" height="265" />
You can use the command line in Terminal to efficiently execute commands, run tools, and run shell scripts. For example, to see a list of files in your default folder, type the List command, ls , then press Return. When you’re done, clear the window of the list by choosing Edit > Clear Screen.
To look up Unix commands, you can use the command man to display manual pages, called man pages. To display a man page with the details about the man command, type the command man man, then press Return. To close the man page and clear the window, press q.
You can change the look of Terminal windows so that they are easy to identify when several are open at the same time. To see window options, choose Terminal > Settings, then click Profiles.
If you are new to scripting, see Apple Developer website: the Shell Scripting Primer to learn more about working with shell scripts in Terminal.
Want to learn more?