I just wanted to look at the man page for the command md5. So I typed man md5
but it displayed the man page of dgst
instead of this one.
Any idea why and how I could access this manpage from the terminal ?
Edit : man -w
return the path used to look for manpages : /opt/local/share/man:/usr/share/man:/usr/local/share/man:/usr/texbin/man
But where does this come from ? Not from my /private/etc/man.conf
.
Best Answer
On my ML installation,
man md5
does indeed show theMD5(1)
man page.It's possible some local software installation or configuration is causing the display of a man page for
dgst
instead, though (which appears to be part of OpenSSL.)A few things to check:
Do you have the
MANPATH
environment variable set in your shell? It could be looking in an alternative directory for manpages before hitting the system manpages.MANPATH
does not appear to be set by default.Are there alternative
MANPATH
directives in/private/etc/man.conf
? My system hasHas
/usr/share/man/man1/md5.1
been replaced by a symlink to another man page that could be producing thedgst
content? TryIf
/usr/share/man/man1/md5.1
has not been changed, then you can read its content specifically this way: