Linux command
firefox 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Open Firefox
firefox
Open specific URL
firefox [https://example.com]
New window
firefox --new-window [url]
Private browsing
firefox --private-window
Use specific profile
firefox -P [profilename]
说明
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.
参数
- --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.
FAQ
What is the firefox command used for?
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.
How do I run a basic firefox example?
Run `firefox` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --new-window _URL_ do in firefox?
Open URL in new window.