mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 17:22:08 +02:00

* whatis: add Japanese translation * add example of --locale option * Update whatis.md Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
24 lines
574 B
Markdown
24 lines
574 B
Markdown
# whatis
|
|
|
|
> Display one-line descriptions from manual pages.
|
|
> More information: <https://manned.org/whatis>.
|
|
|
|
- Display a description from a man page:
|
|
|
|
`whatis {{command}}`
|
|
|
|
- Don't cut the description off at the end of the line:
|
|
|
|
`whatis --long {{command}}`
|
|
|
|
- Display descriptions for all commands matching a glob:
|
|
|
|
`whatis --wildcard {{net*}}`
|
|
|
|
- Search man page descriptions with a regular expression:
|
|
|
|
`whatis --regex '{{wish[0-9]\.[0-9]}}'`
|
|
|
|
- Display descriptions of a specific language (requires `manpage-{{locale}}` package):
|
|
|
|
`whatis --locale={{en}} {{command}}`
|