1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 21:02:08 +02:00
tldr/pages/linux/man.md
kai 31325d9bd8
man: use long options in examples (#8216)
* man: use long options in examples
* man: move long options to /linux/
2022-07-19 07:45:19 +05:30

658 B

man

Format and display manual pages. More information: https://www.man7.org/linux/man-pages/man1/man.1.html.

  • Display the man page for a command:

man {{command}}

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

man {{7}} {{command}}

  • List all available sections for a command:

man --whatis {{command}}

  • Display the path searched for manpages:

man --path

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

man --where {{command}}

  • Display the man page using a specific locale:

man {{command}} --locale={{locale}}

  • Search for manpages containing a search string:

man --apropos "{{search_string}}"