Linux commands
Gary W. Swearingen
garys at opusnet.com
Fri Apr 14 00:23:58 UTC 2006
Thilo Six <T.Six at gmx.de> writes:
> with apropos you can search the manpages.
Some prefer "man -k", which does the same.
> e.g.:
> $ apropos ubuntu
>
> will give you all manpages, where ubuntu is mentioned.
Only where it's mentioned in the "NAME" line. For the whole manpage,
put this in script. Mine's named "mangrep".
find $( manpath | sed s/:/\ /g ) -print0 | xargs -0 zgrep -EH "$@"
BTW, I just learned that kubuntu grep's -Z is very different than
FreeBSD's.
More information about the ubuntu-users
mailing list