Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

opera -remote "openURL("

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


just opens a new window.

share|improve this question

migrated from Aug 10 '11 at 17:18

This question came from our site for professional and enthusiast programmers.

Works for me, and should work in general. – Hasturkun Aug 10 '11 at 14:59
up vote 5 down vote accepted

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.

share|improve this answer

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


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

share|improve this answer

Here is another (more generic) way to do that (assume chrome is your default browser) :

share|improve this answer

I would just do chromium-browser (for chromium), or google-chrome, and instead of depending on it being there in /usr/bin/google-chrome just rely on you PATH, or if you really want to know exactly where it is just type which google-chrome and it will give you the path note that the which command will tell you the static location of an application

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .