Manpage lookup

From TykWiki
Revision as of 12:56, 24 September 2013 by Tykling (talk | contribs) (Created page with "<pre>man -P "less -Xp'samba.mydomain.com'" 8 mount_smbfs</pre> <pre> findman() { if [ $# -ne 3 ]; then echo "Usage: findman <searchterm> <section> <ma...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
man -P "less -Xp'samba.mydomain.com'" 8 mount_smbfs
findman() {
        if [ $# -ne 3 ]; then
                echo "Usage: findman <searchterm> <section> <manpage>"
        else
                man -P "less -Xp'$1'" $2 $3
        fi
}