Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

Firefox 5.0 has the option to "switch to tab" if the requested URL or search terms point to an already open URL (great thing by the way).

Now, to open a URL from command line to Firefox a mere firefox would do, but even if that URL already is open, Firefox will open it once more in another tab.

How can I---from command line---tell Firefox to open the desired URL in an already existing tab if possible?

share|improve this question

Well at least one possible method is to modify your about:config files. See for details as to how to do this.

share|improve this answer
Well that's a cool thing, but it's indiscriminate. What I want is to be able to do that for particular URLs only and at particular times. – Benjamin Aug 16 '11 at 8:41
up vote 0 down vote accepted

It is not possible at the moment.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.