Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

FAQ
It is currently Wed Aug 23, 2017 8:52 am


FreeBSD tutorials and how-tos

Author Message
admin
Post  Post subject: Changing man path when having multiple man files from daemons with the same name  |  Posted: Thu Apr 07, 2011 6:50 am
Site Admin

Joined: Mon Aug 03, 2009 8:43 am
Posts: 95

Offline
 

Changing man path when having multiple man files from daemons with the same name

When having multiple man files from multiple daemons with the same name (ie: /usr/share/man/man8/tftpd.8.gz from freebsd stock tftpd daemon and /usr/local/man/man8/tftpd.8.gz from yale-tftpd packet), the man tftpd command will show the content of the default tftpd.8.gz man page (/usr/share/man/man8/tftpd.8.gz).

Code:
# pkg_info -L freebsd*; pkg_info -L yale*
Information for freebsd-tftp-1.0:

Files:
/usr/bin/tftp
/usr/libexec/tftpd
/usr/share/man/man1/tftp.1.gz
/usr/share/man/man8/tftpd.8.gz

Information for yale-tftpd-3.0:

Files:
/usr/local/libexec/tftpd
/usr/local/man/man8/tftpd.8.gz


If you want to see the man page from yale-tftpd (/usr/local/man/man8/tftpd.8.gz), you can change the $MANPATH variable like so:

Code:
# export MANPATH=/usr/local/man
# man tftpd
...

_________________
VPSie - SSD VPS servers in AMS-IX, LINX, DE-CIX
https://vpsie.com





Top
Display posts from previous:  Sort by  
E-mail friendPrint view
Who is online
Users browsing this forum: No registered users and 0 guests
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Jump to:  
News News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC - 5 hours [ DST ]



phpBB SEO