1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 22:22:09 +02:00
tldr/pages/linux/man.md
Managor a70b923d8f
*: add option placeholders to translations (#15933)
Co-authored-by: Darío Hereñú <magallania@gmail.com>
2025-03-19 00:36:34 +02:00

843 B

man

Format and display manual pages. More information: https://manned.org/man.

  • Display the man page for a command:

man {{command}}

  • Open the man page for a command in a browser (BROWSER environment variable can replace =browser_name):

man {{[-Hbrowser_name|--html=browser_name]}} {{command}}

  • Display the man page for a command from section 7:

man {{7}} {{command}}

  • List all available sections for a command:

man {{[-f|--whatis]}} {{command}}

  • Display the path searched for manpages:

man {{[-w|--path]}}

  • Display the location of a manpage rather than the manpage itself:

man {{[-w|--where]}} {{command}}

  • Display the man page using a specific locale:

man {{[-L|--locale]}} {{locale}} {{command}}

  • Search for manpages containing a search string:

man {{[-k|--apropos]}} "{{search_string}}"