Commands

apropos

keyword

Search the whatis database for keyword. Provides terse, but thorough, documentation. Good place to start looking if you're clueless. You must run makewhatis before using keyword.

Example: To retrieve information on the various files and executables dealing with passwords, use

apropos passwd

info

options keyword

Info is a hypertext reader that searches and displays on-line documentation about the specified keyword.

Example: To look up information on the cd command, use

info cd

Example: To look up information on the grep command and store it in output file grep.doc, use

info -o grep.doc grep

--directory DIRECTORY-PATH, -d DIRECTORY-PATH Look for info files in the specified directories.
--file FILENAME, -f FILENAME

Get Linux® Desk Reference, Second Edition 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.