Files
cheatsheet-tldr/tldr/linux/whatis

30 lines
626 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# 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 in a specific language:
`whatis --locale={{en}} {{command}}`