Firefox command line options

Lets say you want to search something on google. You will first open firefox and then enter your query in the search engine bar. Have you ever realised, you could have done it in just a single command. Yes, its true firefox does have a few command line options that can make your life a little easier. In this article, I will tell you 7 firefox commands that I find useful.

So, lets start with the one I mentioned in the teaser.

1. Suppose you want to search linux. Try this command

[shredder12]$ firefox -search linux

2. If you want to open firefox in private browsing mode. This option works only on firefox 3.6 or later.

[shredder12]$ firefox -private

3. If you want to to open a URL in a new tab use this command

[shredder12]$ firefox -new-tab linuxers.org

4. If you want to open a URL in a new window. This is actually the default option.

[shredder12]$ firefox -new-window linuxers.org

5. If you just want to open the browser preferences window, NOT the Browser.

[shredder12]$ firefox -preferences

6. Set firefox as the default browser.

[shredder12]$ firefox -setDefaultBrowser

7. Open the Profile Manager only. Using the profile manager you can create, edit or delete profiles.

[shredder12]$ firefox -p

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <img> <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <h1> <h2> <h3> <h4> <h5> <h6> <p> <br>
  • Image links with 'rel="lightbox"' in the <a> tag will appear in a Lightbox when clicked on.
  • Search Engines will index and follow ONLY links to allowed domains.

More information about formatting options

Mollom CAPTCHA (play audio CAPTCHA)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.