Operating System - HP-UX
1753512 Members
5121 Online
108795 Solutions
New Discussion юеВ

Re: new version of "mkwhatis" for HPUX 11.3 ?

 
SOLVED
Go to solution
TwoProc
Honored Contributor

new version of "mkwhatis" for HPUX 11.3 ?

when I run "man -k" on most anything, I get a complaint about the /usr/share/lib/whatis not being there. The old way to "get" it was to run "mkwhatis" .

However, I don't see this command in 11.3 - so how do I get my whatis database ?
We are the people our parents warned us about --Jimmy Buffett
3 REPLIES 3
Patrick Wallek
Honored Contributor
Solution

Re: new version of "mkwhatis" for HPUX 11.3 ?

I don't know about mkwhatis. That may have been a script or alias set up on your system.

The way to make the whatis database is via the catman command.

# catman -w

will create a new 'whatis' db.

See the 'catman' man page for more information.
TwoProc
Honored Contributor

Re: new version of "mkwhatis" for HPUX 11.3 ?

Thanks Patrick!

It's running now. Much appreciated.
We are the people our parents warned us about --Jimmy Buffett
Bill Hassell
Honored Contributor

Re: new version of "mkwhatis" for HPUX 11.3 ?

It is a good idea to run catman every month or so. As you add products and patches, the list of 1-liners needs to be updated. Also, it is a good idea to use the latest MANPATH, like this:

MANPATH=$(cat /etc/MANPATH) /usr/sbin/catman -m

Put this in crontab for once or twice a month update.


Bill Hassell, sysadmin