Teaching an old dog new tricks

Yesurbius

Registered
It never ceases to amaze me at how you think you know quite a bit, then one day you find something that you never knew existed.

I always wanted a way to launch apps from Terminal. I couldn't find a command that would automatically launch an App.. I'd resort to running the executable:

$ /Applications/TextEdit.app/Contents/MacOS/TextEdit

Whilst reading a Cocoa tutorial today I see the 'open' command. So I drop to Terminal and do a 'man open' and became totally amazed :)

$ open -a TextEdit

Absolutely amazing. I wonder what else I don't know yet :)
 
Yeah. This is a holdover from NeXTSTEP. I read it in the man page for it. Very cool. :)
 
Back
Top