How can I open a URL in Google Chrome from the terminal in OS X?

Actually for me, the command is not working with the "--args" being present so the command working for me is

/usr/bin/open -a "/Applications/Google Chrome.app" 'http://google.com/'

OS X version: 10.6.8


If you remove the --args it seems to work fine, since --args can only affect things on first launch (it changes what main gets called with)


If you set Google Chrome as your default browser

open http://google.com/

will just do the trick.

OS X version: 10.8.4