Files
cheatsheet-tldr/tldr/linux/whatis
2025-12-25 00:21:43 +00:00

31 lines
681 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# whatis
> Display one-line descriptions from manual pages.
> See also: `man`, `whereis`.
> 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 {{[-l|--long]}} {{command}}`
- Display descriptions for all commands matching a glob:
`whatis {{[-w|--wildcard]}} {{net*}}`
- Search man page descriptions with a `regex`:
`whatis {{[-r|--regex]}} '{{wish[0-9]\.[0-9]}}'`
- Display descriptions in a specific language:
`whatis {{[-L|--locale]}} {{en}} {{command}}`