赞
踩
在linux 命令行 输入firefox --help 显示信息。
查看某个html 文件,举例如下,输入命令后 大概需要等3秒, firefox进程启动,浏览器界面显示
firefox test_report.html
- Usage: firefox [ options ... ] [URL]
- where options include:
-
- X11 options
- --display=DISPLAY X display to use
- --sync Make X calls synchronous
- --g-fatal-warnings Make all warnings fatal
-
- Firefox options
- -h or --help Print this message.
- -v or --version Print Firefox version.
- -P <profile> Start with <profile>.
- --profile <path> Start with profile at <path>.
- --migration Start with migration wizard.
- --ProfileManager Start with ProfileManager.
- --no-remote Do not accept or send remote commands; implies
- --new-instance.
- --new-instance Open new instance, not a new window in running instance.
- --UILocale <locale> Start with <locale> resources as UI Locale.
- --safe-mode Disables extensions and themes for this session.
- -MOZ_LOG=<modules> Treated as MOZ_LOG=<modules> environment variable, overrides it.
- -MOZ_LOG_FILE=<file> Treated as MOZ_LOG_FILE=<file> environment variable, overrides it.
- If MOZ_LOG_FILE is not specified as an argument or as an environment variable,
- logging will be written to stdout.
- --headless Run without a GUI.
- --browser Open a browser window.
- --new-window <url> Open <url> in a new window.
- --new-tab <url> Open <url> in a new tab.
- --private-window <url> Open <url> in a new private window.
- --preferences Open Preferences dialog.
- --screenshot [<path>] Save screenshot to <path> or in working directory.
- --window-size width[,height] Width and optionally height of screenshot.
- --search <term> Search <term> with your default search engine.
- --setDefaultBrowser Set this app as the default browser.
- --jsconsole Open the Browser Console.
- --jsdebugger Open the Browser Toolbox.
- --wait-for-jsdebugger Spin event loop until JS debugger connects.
- Enables debugging (some) application startup code paths.
- Only has an effect when `--jsdebugger` is also supplied.
- --devtools Open DevTools on initial load.
- --start-debugger-server [ws:][ <port> | <path> ] Start the debugger server on
- a TCP port or Unix domain socket path. Defaults to TCP port
- 6000. Use WebSocket protocol if ws: prefix is specified.
- --recording <file> Record drawing for a given URL.
- --recording-output <file> Specify destination file for a drawing recording.
-
- -g or --debug Start within debugger
- -d or --debugger Specify debugger to start with (eg, gdb or valgrind)
- -a or --debugger-args Specify arguments for debugger

命令输入 evince --help 显示如下。
evince xxx.pdf
- Usage:
- evince [OPTION...] [FILE…] GNOME Document Viewer
-
- Help Options:
- -h, --help Show help options
- --help-all Show all help options
- --help-gtk Show GTK+ Options
-
- Application Options:
- -p, --page-label=PAGE The page label of the document to display.
- -i, --page-index=NUMBER The page number of the document to display.
- -n, --named-dest=DEST Named destination to display.
- -f, --fullscreen Run evince in fullscreen mode
- -s, --presentation Run evince in presentation mode
- -w, --preview Run evince as a previewer
- -l, --find=STRING The word or phrase to find in the document
- --display=DISPLAY X display to use

Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。