tail head cat sleep
QR code linking to this page

Manual Pages  — MANPATH

NAME

manpath – display search path for manual pages

CONTENTS

SYNOPSIS


manpath [-Ldq]

DESCRIPTION

The manpath utility determines the user's manual search path from the user's PATH, and local configuration files. This result is echoed to the standard output.
-L
  Output manual locales list instead of the manual path.
-d
  Print extra debugging information.
-q
  Suppresses warning messages.

IMPLEMENTATION NOTES

The manpath utility constructs the manual path from two sources:
  1. From each component of the user's PATH for the first of:
    pathname/man
    pathname/MAN
    If pathname ends with /bin: pathname/../share/man and pathname/../man
  2. The configuration files listed in the FILES section for MANPATH entries.
The information from these locations is then concatenated together.

If the -L flag is set, the manpath utility will search the configuration files listed in the FILES section for MANLOCALE entries.

ENVIRONMENT

The following environment variables affect the execution of manpath:
MANLOCALES
  If set with the -L flag, causes the utility to display a warning and the value, overriding any other configuration found on the system.
MANPATH If set, causes the utility to display a warning and the value, overriding any other configuration found on the system.
PATH Influences the manual path as described in the IMPLEMENTATION NOTES.

FILES

/etc/man.conf
  System configuration file.
/usr/local/etc/man.d/*.conf
  Local configuration files.

SEE ALSO

apropos(1), man(1), whatis(1), man.conf(5)

MANPATH (1) March 11, 2017

tail head cat sleep
QR code linking to this page


Please direct any comments about this manual page service to Ben Bullock. Privacy policy.

"I liken starting one's computing career with Unix, say as an undergraduate, to being born in East Africa. It is intolerably hot, your body is covered with lice and flies, you are malnourished and you suffer from numerous curable diseases. But, as far as young East Africans can tell, this is simply the natural condition and they live within it. By the time they find out differently, it is too late. They already think that the writing of shell scripts is a natural act."
— Ken Pier, Xerox PARC