The Linux Newbie Guide  ⇒    Fundamentals     Advanced     Supplement   Command Index   ENG⇒中
All rights reserved, please indicate the source when citing
  

manpath - Display Command Page Search Path




The search path for manual pages that th man command searches can be determined using the  manpath command. The paths reported by  manpath are based on the environment variable "$MANPATH". If this environment variable is not set, the paths will be reported based on the configuration in files such as "/etc/man.config", "/etc/manpath.config", or "/etc/man_db.conf" (depending on the distribution).

Example:
$ manpath ←Query the search paths for man pages
/usr/local/share/man:/usr/share/man/overrides:/usr/share/man

For related " man command operations, please refer to the provided link.