tldr/pages/common/man.md

24 lines
392 B
Markdown
Raw Normal View History

2014-02-27 05:07:16 +00:00
# man
> Format and display manual pages.
2014-02-27 05:07:16 +00:00
- Display man page for a command:
2014-02-27 05:07:16 +00:00
`man {{command}}`
- Display man page for a command from section 7:
`man {{command}}.{{7}}`
- Display path searched for manpages:
2014-02-27 05:07:16 +00:00
`man --path`
- Display location of a manpage rather than the manpage itself:
2014-02-27 05:07:16 +00:00
`man -w {{command}}`
2019-07-23 18:46:06 +01:00
- Search for manpages containing a search string:
2014-02-27 05:07:16 +00:00
2019-07-23 18:46:06 +01:00
`man -k "{{search string}}"`