firefox
Launch the Firefox web browser
TLDR
Launch Firefox and open a web page
Open a new window
Open a private (incognito) window
Search for "wikipedia" using the default search engine
Launch Firefox in safe mode, with all extensions disabled
Take a screenshot of a web page in headless mode
Use a specific profile to allow multiple separate instances of Firefox to run at once
Set Firefox as the default browser
SYNOPSIS
"firefox [OPTIONS] [URL...]
Common invocation examples:
firefox
firefox https://www.mozilla.org
firefox --private-window
firefox --profile /path/to/profile https://example.com"
PARAMETERS
--new-window
"Opens a new Firefox window, optionally loading the specified URL."
--new-tab
"Opens the specified URL in a new tab within an existing Firefox window, or a new window if none are open."
--private-window
"Opens a new private browsing window, which does not save browsing history, cookies, or site data."
--profile
"Starts Firefox using the specified profile directory. Useful for managing multiple user profiles or testing."
--safe-mode
"Starts Firefox in Safe Mode, temporarily disabling extensions, themes, and hardware acceleration to troubleshoot issues."
--no-remote
"Prevents Firefox from sending commands to an already running instance. This forces a new Firefox process to start."
[URL...]
"One or more URLs to open upon launch. By default, these open in new tabs in an existing or new window."
DESCRIPTION
"The firefox command launches the Mozilla Firefox web browser, a free and open-source web browser developed by the Mozilla Foundation and its subsidiary Mozilla Corporation. It provides a secure, fast, and customizable way to browse the internet, supporting modern web standards, extensions, and a wide range of features including tabbed browsing, private browsing, a built-in PDF viewer, and robust developer tools. When invoked without arguments, it opens a new browser window to your default homepage or previously opened tabs. You can specify URLs to open directly, manage profiles, or launch specific browser modes like private browsing from the command line."
CAVEATS
"Running firefox typically requires a graphical display environment (an X server on Linux). While a `--headless` mode exists for server-side use, interactive browsing is not possible without a display. Opening multiple instances without `--no-remote` will usually open new windows/tabs in the already running instance. Permissions issues with profile directories can prevent launch or cause data loss."
<I>PROFILE MANAGEMENT</I>
"Firefox profiles store user data, settings, and customizations. You can manage profiles using the command firefox --profilemanager (or its shorthand firefox -P) to launch a dedicated profile manager UI, allowing you to create, rename, or delete profiles. Specifying --profile
HISTORY
"Firefox originated from an experimental branch of the Mozilla Application Suite, initially known as `Phoenix` in 2002, and later `Firebird` before being renamed to `Firefox` in 2004 to avoid trademark conflicts. It was created by Dave Hyatt and Blake Ross with the goal of developing a standalone browser focused on speed and a streamlined user interface, departing from the full internet suite model. Its focus on performance, security, and extensibility helped it gain significant market share, challenging Microsoft's Internet Explorer dominance in the mid-2000s. Continual development has introduced features like tabbed browsing, add-ons, private browsing, and the robust Gecko rendering engine."
SEE ALSO
google-chrome(1), chromium-browser(1), w3m(1), lynx(1), xdg-open(1)