[OpenIndiana-discuss] man pages to solaris cmds

Mike Gerdts mgerdts at gmail.com
Sun Dec 19 04:12:40 UTC 2010


On Sat, Dec 18, 2010 at 7:08 PM, Calum Mackay <calum.mackay at cdmnet.org> wrote:
> hi Harry,
>
>> What is the MANPATH to the solaris cmds that there are also gnu
>> versions of.
>
>        man -M /usr/share/man ls
>
> is what you're after :)
>
> Assuming your MANPATH is by default:
>
>        /usr/gnu/share/man:/usr/share/man:/usr/X11/share/man
>
> so you get the GNU man pages first...

And if you don't set your MANPATH, it will man will give you the man
page that is appropriate for your path.  For most users, having
MANPATH set is more likely to do harm than good.

http://arc.opensolaris.org/caselog/PSARC/2007/688/20071212_mike.gerdts

-- 
Mike Gerdts
http://mgerdts.blogspot.com/



More information about the OpenIndiana-discuss mailing list