[OpenIndiana-discuss] man pages to solaris cmds
Kevin J. Woolley
kjw at javabunny.net
Sun Dec 19 02:06:35 UTC 2010
On Saturday, 18 December, 2010 17:04, "Harry Putnam" <reader at newsguy.com> said:
> What is the MANPATH to the solaris cmds that there are also gnu
> versions of.
>
> /bin/ls for example
>
> If I call man /bin/ls
>
> I get warnings about opening a binary file, and when the man page
> opens there is lots of guff in it like escape sequences.
Don't supply paths to man on the command line. You just asked it to process the /bin/ls executable file, and the warnings are 100% correct.
See if you have locate or slocate installed. If not, do "pkg search locate" and find and install the appropriate package. You will need to find and run "updatedb" as root to build its database if you just installed it now. Once you've got that installed and the database built, do "locate ls.1" or "slocate ls.1". That should give you a list of files with the string "ls.1" in them. It should then be fairly easy to look at the list and see the files you're looking for.
Cheers,
kjw
More information about the OpenIndiana-discuss
mailing list