Search all man pages for a phrase
zgrep "my long phrase" /usr/share/man/*/*
was my best shot at searching all manpages for a phrase but it didn't work for me on live Knoppix 3.4 Can someone please edit this cli so that it will find everything I put between quotes in all man pages? |
This works:
man -k <word> | grep -i <more words> Example: man -k user | grep -i 'account' Hope this helps. edit If you install new software on a regular base, you might need to run makewhatis to update the manpage database. This is used when you use mans -k flag. |
All times are GMT -5. The time now is 12:32 AM. |