apropos—searches the what is database for strings

apropos keyword …

apropos searches a set of database files (see directory /usr/man/whatis) containing short descriptions of system commands for keywords and displays the result on the standard output. Same as man -k.

Example A.1.
1  $ apropos bash
					bash (1)                 - GNU Bourne-Again Shell

2  $ man -k tcsh
					tsh (1)               - C shell with filename completionand
					command line editing
				

Explanation

  1. apropos searches for the keyword bash and prints a short description of what it is.

  2. man -k behaves the same as apropos.

Get Linux Shells by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.