user-avatar
Today is Sunday
April 28, 2024

June 10, 2009

How to add a man doc manually

by viggy — Categories: linux — Tags: , Leave a comment

you need to set the MANPATH variable to be able to access man pages which are not present in standard path. If for temporary purpose, you can just export MANPATH by the following command.
$export MANPATH=$MANPATH:/the/path/of/the/man/page/

Dont keep any space on either sides of “=” as it gives error as
“bash: export: `=’: not a valid identifier”.

To add permanently, you need to make changes in /etc/login.defs file. I am looking into it and will update this post as soon as i come to know of it

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>