commands.sh

whatis

linuxmacos

Display one-line descriptions from manual pages. See also: `man`, `whereis`.

More info →

Options (4)

-l, --longboolean

Don't cut the description off at the end of the line

Example: whatis {{[-l|--long]}} {{command}}
-w, --wildcardboolean

Display descriptions for all commands matching a glob

Example: whatis {{[-w|--wildcard]}} {{net*}}
-r, --regexboolean

Search man page descriptions with a `regex`

Example: whatis {{[-r|--regex]}} '{{wish[0-9]\.[0-9]}}'
-L, --localeboolean

Display descriptions in a specific language

Example: whatis {{[-L|--locale]}} {{en}} {{command}}

Examples (5)

Display a description from a man page

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
made by @shridhargupta | data from tldr-pages