⌘K
Options (6)
-HbooleanOpen the man page for a command in a browser (`=browser_name` can be omitted if `$BROWSER` is set)
Example:
man {{[-H|--html=]}}{{browser_name}} {{command}}-f, --whatisbooleanList all available sections for a command
Example:
man {{[-f|--whatis]}} {{command}}-w, --pathbooleanDisplay the path searched for manpages
Example:
man {{[-w|--path]}}-w, --wherebooleanDisplay the location of a manpage rather than the manpage itself
Example:
man {{[-w|--where]}} {{command}}-L, --localebooleanDisplay the man page using a specific locale
Example:
man {{[-L|--locale]}} {{locale}} {{command}}-k, --aproposbooleanSearch for manpages containing a search string
Example:
man {{[-k|--apropos]}} "{{search_string}}"Examples (8)
Display the man page for a command
man commandOpen the man page for a command in a browser (`=browser_name` can be omitted if `$BROWSER` is set)
man [-H|--html=]browser_name commandDisplay the man page for a command from section 7
man 7 commandList all available sections for a command
man [-f|--whatis] commandDisplay the path searched for manpages
man [-w|--path]Display the location of a manpage rather than the manpage itself
man [-w|--where] commandDisplay the man page using a specific locale
man [-L|--locale] locale commandSearch for manpages containing a search string
man [-k|--apropos] "search_string"made by @shridhargupta | data from tldr-pages