Let's say I want the man page related to luks. man luks
doesn't work, is there a quick way for me to find the man pages using the keyword luks from bash ?
Asked
Active
Viewed 904 times
12

ChiseledAbs
- 2,243
2 Answers
16
You're looking for apropos
; on my system apropos luks
points me to cryptsetup(8)
, luksformat(8)
and a number of other relevant manpages.
apropos
, which is equivalent to man -k
, looks in the installed manpages' names and descriptions for the search text given on its command line. The search text can include regular expressions or shell-style globs (with apropos
, using the -r
or -w
options; -r
is the default).
man -K
allows searching in all the contents of all the installed manpages. This takes longer than apropos
or man -k
.
(Thanks to Stephen Harris and clusterdude for the extra clarification.)

Stephen Kitt
- 434,908
-
-
1
apropos
is an English word, roughly meaning "concerning" or "pertaining to" in this context. It's just not necessarily the word you'd first think of :-) From the French "a propos"; "on that subject" – Stephen Harris Jul 26 '16 at 13:54
10
Try using apropos
, it will search in the titles / descriptions of manual pages for a certain string :
apropos luks

magor
- 3,752
- 2
- 13
- 28
apropos
andman -K/-k
are mentioned in the answers to the dupe. – terdon Jul 27 '16 at 09:07