mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-23 17:51:46 +00:00
Update cheatsheets
This commit is contained in:
29
linux/whatis
Normal file
29
linux/whatis
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
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}}`
|
||||
Reference in New Issue
Block a user