How can Apple Mac OS open app apps with command line terminals? Sometimes the configuration file on the Mac OS platform will need to open the app application at the Mac terminal. The following small Lego for everyone to share Apple Mac OS open app app with command line Terminal tutorial, let's learn it!
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.
Note : More wonderful tutorials Please pay attention to the triple computer tutorial section, triple Computer office group: 189034526 welcome you to join