LinuxCommandLibrary

firefox

TLDR

Open Firefox

$ firefox
copy
Open specific URL
$ firefox [https://example.com]
copy
New window
$ firefox --new-window [url]
copy
Private browsing
$ firefox --private-window
copy
Use specific profile
$ firefox -P [profilename]
copy

SYNOPSIS

firefox [options] [urls...]

DESCRIPTION

firefox is Mozilla's open source web browser. The command-line interface launches the browser with various options for windows, profiles, and automated tasks.
The browser supports multiple profiles for separating work and personal browsing. Headless mode enables automated screenshots and testing without a visible window.
Firefox provides extensive privacy features and extension support through its add-ons ecosystem.

PARAMETERS

URLS

URLs to open.
--new-window URL
Open URL in new window.
--new-tab URL
Open URL in new tab.
--private-window
Start private browsing.
-P PROFILE
Use named profile.
--ProfileManager
Open profile manager.
--safe-mode
Start with extensions disabled.
--headless
Run without GUI.
--screenshot FILE
Capture page to file.
--help
Display help information.

CAVEATS

Profile options require no running instance. Headless mode has limited functionality. Some options vary by platform.

HISTORY

Firefox emerged from the Mozilla project in 2002 as Phoenix, renamed Firefox in 2004. It became a major browser challenging Internet Explorer's dominance, pioneering features like tabbed browsing and extensions.

SEE ALSO

Copied to clipboard