Open Browser From Command Line On OS X

To open a browser from the command line in OS X run the following command. If you want to open to a specific URL, add a space and then the URL.

#opens system default browser
/usr/bin/open

#opens system default browser to brainscat.com
/usr/bin/open http://brainscat.com

Leave a Comment