Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Configuring MANPATH ? 1

Status
Not open for further replies.

StickyBit

Technical User
Joined
Jan 4, 2002
Messages
264
Location
CA
Hi folks,

What is the correct way to configure MANPATH using bash e.g.

If I install qmail on my system, the install creates the following directory with man pages: /var/qmail/man.

Should I copy the pages to /usr/man ? because this is in my man path or should I edit profile / .profile with something like this: export MANPATH = $MANPATH:/var/qmail/man. However, If I export MANPATH = $MANPATH:/var/qmail/man my man pages only contain information from /var/qmail/man, and nothing else. What am I doing wrong? How do I configure my man path properly using bash?

Regards,

StickyBit.
 
In your .profile put-

MANPATH=/usr/man:/var/qmail/man; export MANPATH

Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top