1825677 Members
3739 Online
109686 Solutions
New Discussion

MANPATH

 
Kevin Carroll
New Member

MANPATH

I added a man page to /usr/local/man/man8 directory and man won't work for this page. This above path is not in /etc/MANPATH but it's not in /etc/MANPATH on another system and it works. I thought it might have something to do with /usr/local/man/%L which is in /etc/MANPATH on both machines. Any ideas?
Thanks
3 REPLIES 3
Jdamian
Respected Contributor

Re: MANPATH

Check you MANPATH environment variables
Deepak Extross
Honored Contributor

Re: MANPATH

Kevin,
As long as your $MANPATH includes /usr/local/man, man will automatically look into /usr/local/man/man8.

The %L is to allow locale-specific man directories to be searched. See the entry for NLSPATH in "man environ" for an explanation of this.

HTH.
Kevin Carroll
New Member

Re: MANPATH

Ok, my mistake, I was looking for man pages for ssh when I had only the man page for sshd installed, doh!
Thanks anyway.