Skip to content

Latest commit

 

History

History
68 lines (42 loc) · 1.44 KB

command-line-options.md

File metadata and controls

68 lines (42 loc) · 1.44 KB

Notes: viewing Firefox command line options/switches


Windows

From command prompt (cmd.exe), for some reason it does not show unless piped or redirected:

  • Output by page

    "C:\Program Files\Mozilla Firefox\firefox.exe" -h | more
    

    (press 'Enter' key to read the next page)

  • Output all

    "C:\Program Files\Mozilla Firefox\firefox.exe" -h | findstr /N /I /R ".*"
    

    (findstr: /N show line numbers, /I ignore case, /R regex, ".*" search term)

  • Output to a file, then output the file

    "C:\Program Files\Mozilla Firefox\firefox.exe" -h >> firefox-help.txt
    type firefox-help.txt
    

Linux

From a terminal command line:

  • Output all

    firefox -h
    
  • Output by page

    firefox -h | more
    

    (press: 'Space' key to read the next page, 'Enter' key to read line by line)

  • Output and view

    firefox -h | less -NJIS
    

    (less: -N show line numbers, -J show status column, -I search ignores case, -S no wrap)

  • Output to a file, then output the file

    firefox -h >> firefox-help.txt ; cat firefox-help.txt