LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

apropos

Search manual page descriptions by keyword

TLDR

Search man pages by keyword
$ apropos [keyword]
copy
Search with exact match
$ apropos -e [keyword]
copy
Search in specific sections
$ apropos -s [1,8] [keyword]
copy
Search with regex
$ apropos -r "[network.*config]"
copy
Match all keywords (AND)
$ apropos -a [keyword1] [keyword2]
copy

SYNOPSIS

apropos [-e] [-r] [-s sections] [-l] keyword

DESCRIPTION

apropos searches the manual page names and short descriptions for keywords, helping you find relevant commands when you don't know the exact name.The search queries the whatis database built by mandb. By default each keyword is treated as a regular expression. Multiple keywords are OR'd together; use -a to require all of them to match.

PARAMETERS

-e, --exact

Search for exact keyword match
-r, --regex
Interpret each keyword as a regular expression. This is the default behaviour.
-w, --wildcard
Interpret keyword as shell wildcard
-s list, --sections list
Search only specified manual sections
-l, --long
Do not trim output to the terminal width.
-a, --and
Require all keywords to match

INSTALL

sudo apt install man-db
copy
sudo dnf install man-db
copy
sudo pacman -S man-db
copy
sudo apk add mandoc-apropos
copy
brew install man-db
copy
nix profile install nixpkgs#man-db
copy

CAVEATS

Results depend on the whatis database being up to date. Run mandb to update if new packages were installed. Some man pages may have poor descriptions.

HISTORY

apropos has been part of Unix systems since early versions, helping users discover relevant commands. It's equivalent to man -k.

SEE ALSO

man(1), whatis(1), mandb(8)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid