commands

whatis — look up manual summaries

man-db tool that searches manual page names and returns concise descriptions from the manual index. It is not an executable lookup command.

Formal Syntax & Structure

linux syntaxlinux
whatis [OPTION]... NAME ...

Parameters & Attributes

NameTypeDescription
-s LISToptionRestrict sections
NAMEoperandManual page name

Return Value

text and exit status

Displays matching summaries; nonzero for failure or no matches.

Working Example

Example Snippetlinux
whatis ls
Linux Reference