apropos: search keyword in available man pages

finds related man pages based on the provided search term

Typical usage: documentation purposes, lookup command information, general system administration

Introduction into apropos

The apropos tool is a search tool that retrieves information from the man pages that are installed on the system. It’s like a local search engine, matching related commands, system calls, and other system components. The command is easy to use, as it just needs a single word to search for to start doing its job. By using relevant command options the output can be reduced, such as filter on exact word matches or by using regular expressions.

Installation

When apropos is not installed by default, it can be added to the system using the relevant software package.

Package information for apropos

Operating systemPackage nameInstallation
AlmaLinuxman-db
dnf install man-db
Arch Linuxman-db
pacman -S man-db
Debianman-db
apt install man-db
Fedoraman-db
dnf install man-db
Red Hat Enterprise Linuxman-db
dnf install man-db
Rocky Linuxman-db
dnf install man-db
openSUSEman-db
zypper install man-db
Ubuntuman-db
apt install man-db

Your Linux distribution using a different package? Share your feedback.

Usage

Available options

Long optionShort optionDescription
--and-aMatch multiple key words by AND instead of OR operator
--exact-eExact word match
--regex-rProvide a regular expression to use for search queries

Missing an option in this overview? Share your feedback.

Examples using apropos

Basic usage

Return all entries related to systemd

apropos systemd

Search for a specific word by exact matching

apropos --exact networ

Output: <nothing>

Using regular expressions

Search for entries that contain words like manage, managed, management

apropos --regex "manage"

Return only the entries with the word 'manage' at the beginning of a name or description

apropos --regex "^manage"

Frequently Asked Questions

What is the apropos command and its purpose?

The apropos command is a command-line tool to search in man pages and return the results

Which package provides the apropos command?

The command apropos is provided by the man-db package.

Related and similar commands

Linux has a lot of tools and commands available and sometimes you just need that little other tool. Here is a list of commands that are similar or related to apropos:

Related and similar commands to apropos
CommandCategorySummary
whatisdocumentationShows small description of matched entries in man pages