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
8. If you want to open the browser in safe mode, it can be directly done using the "--safe-mode" option.
[shredder12]$ firefox --safe-mode