Mac OS X

Command Line Fu: Open Hidden Apps In macOS

macOS allows you to launch an app but in a hidden state. To do so, use the open command to open the app and then use the -a flag to specify the path of the app and –hide after the path to the app, as follows:

/usr/bin/open -a /Applications/Notes.app --hide