manpath to see the directories used by your system, and
man --where --all foo to find a specific manual page of
The standard location is
/usr/share/man according to Filesystem Hierarchy Standard, and
/usr/man is usually a symlink to that directory.
Other locations can be defined in
/etc/man_db.conf (exact location varies). For example,
/usr/local/share/man is almost always included.
man tries to find manual pages for every directory specified in $PATH – for example, if you added
/opt/plan9/bin to $PATH,
man will automatically search
$MANPATH environment variable is set, however, it will override all other sources.