[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Searching man pages



From: Oded Arbel <odeda-linux-il@betalfa.org.il>
> hello people.
> 
> Is there a way to search the entire collection of man pages for keywords ?
> for example - let's say I want to find (or check if exist) a program that
> does a certain function, but i don't know what it's name (or even if such
> a program exist on my system) so I'll want to search the 'Description:'
> section and look for keywords I specify - is this possible at all ?

What about "man -k"?  It will lookup in the "Name" sections of all
manual pages.  Other than that, you can try something like:

find /usr/man -type f | xargs zfgrep -i 'your string'

(depending on your specific system).

--Amos