LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   man works, man -k does not (https://www.linuxquestions.org/questions/linux-newbie-8/man-works-man-k-does-not-404060/)

mafy68 01-16-2006 11:09 AM

man works, man -k does not
 
I stumbled on the solution.. Thought Im still confused why my $MANPATH is blank.

I've will posted for the the rest :)

Solution:

/usr/sbin/makewhatis

DESCRIPTION
makewhatis reads all the manual pages contained in the given sections of manpath or the preformatted pages contained in the given sections of catpath. For each page, it writes a line in the whatis database; each line consists of the name of the page and a short description, separated by a dash. The description is extracted using the content of the NAME section of the manual page.


All times are GMT -5. The time now is 03:35 PM.