Terminal provides a command line interface to control the Linux-based operating system that lurks underneath the pretty graphic user interface of the Mac.
On your Mac, open ‘finder’ and locate your ‘applications’ folder. Double click the ‘utilities folder’, then select the terminal icon.
You can launch various applications from the command prompt using the ‘open’ command
open – a <app-name>
Common Apps
open -a safari
open -a photos
open -a finder
open -a mail
open -a ‘disk utility’
open -e <text file>
More Commands
For more linux commands click here.