How to control Google Chrome from terminal

In Ubuntu, to control Opera from the command line you would use the command

opera -remote "openURL(www.google.com)"

is there a command like that for Google Chrome? Using the command

/usr/bin/google-chrome www.google.com

just opens a new window.


The chromix project might be what you're looking for. It allows control of chrome and its tabs from the command line (or within a script).

Disclaimer: I'm it's author.


This worked for me, opening my personal website in a new Chrome window on Ubuntu Linux:

google-chrome http://dotancohen.com

It looks like you are missing the initial http:// part.