Need Some Help? Have a Tip to Share?

Email me at MacTipper@gmail.com, or, leave a comment!

Subscribe To Our FREE RSS Feed!

Don't miss out on any posts from the Concise MacTipper Blog.

Thursday, April 30, 2009

Quickly Open Applications From Terminal

If you're writing a bash script, there is a really simple way to open an application from Terminal. Just use the "open" command in conjunction with the -a flag:

open -a Safari


Another cool thing you can do with this is open multiple instances of an application. Just tack on the -n flag:

open -n -a Safari

0 comments:

Post a Comment