Examples (8)
Launch Firefox and open a web page
firefox https://www.duckduckgo.comOpen a new window
firefox --new-window https://www.duckduckgo.comOpen a private (incognito) window
firefox --private-windowSearch for "wikipedia" using the default search engine
firefox --search "wikipedia"Launch Firefox in safe mode, with all extensions disabled
firefox --safe-modeTake a screenshot of a web page in headless mode
firefox --headless --screenshot path/to/output_file.png https://example.com/Use a specific profile to allow multiple separate instances of Firefox to run at once
firefox --profile path/to/directory https://example.com/Set Firefox as the default browser
firefox --setDefaultBrowsermade by @shridhargupta | data from tldr-pages