Did you know you can open applications directly from the command line in Terminal? The command is
To open a url in the browser from the command line, use
You don’t need quotes around the url. This will use the default browser on your machine.
will open the Applications folder in Finder.
To open a specific application, use the path to that application followed by the
Will open the current directory in Sublime Text.
If you’re writing a ruby script, use these commands instead:
system("open", "http://stackoverflow.com/") system("open", "/Applications/Adobe\ Illustrator\ CS6/Adobe\ Illustrator.app")