When a user configures a file on a Mac OS platform and sometimes needs to configure some files in the Mac terminal, it needs to use the command to open the app app in the terminal, but there are a lot of users who don't use terminal commands, which provides a tutorial on opening app apps under a terminal.
Open the terminal to enter Open/applications/xxx directly (the name of the application). App like Open ITunes input: Open/applications/itunes.app (note Open after a space and then enter a slash/)
MAC command to open an application in a terminal
From:http://macosx.com/forums/howto-faqs/29520-how-launch-application-terminal.html
The command is simply open (which can also being used for opening directories). The most basic example of launching an application:
Open/path/to/some.app
More complex possibilities also exist:
Open "/volumes/macintosh hd/foo.txt"
Opens the document in the ' default application for it type (as determined by launchservices).
open/applications/
Opens that directory in the Finder.
Open-a/applications/textedit.app "/volumes/macintosh hd/foo.txt"
Opens the document in the application specified (in this case, TextEdit).
Open-e "/volumes/macintosh hd/foo.txt"
Opens the document in TextEdit (the-e option specifies TextEdit).
Open http://www.apple.com/
Opens the URL in the default browser (Lynx, naturally *wink*)
Open "File://localhost/Volumes/Macintosh hd/foo.txt"
Opens the document in the ' default application for it type (as determined by launchservices).
Open "File://localhost/Volumes/Macintosh hd/applications/"
Opens that directory in the Finder.