MANPATH
determine user's search path for man pages
SYNOPSIS
manpath [-dLq]
DESCRIPTION
The manpath utility tries to determine the users manpath from a set of system defaults and the users PATH, echoing the result to the standard output. Warnings and errors are written to the standard error. If a directory in the users path is not listed in the /etc/manpath.config file, manpath looks for the subdirectories man or MAN. If they exist, they are added to the search path. If they do not exist, but the directory ends in /bin, manpath replaces /bin with /man and checks if that directory exists. If it exists, it is added to the search path.
The manpath utility is used by man(1) to determine the search path, so users normally do not need to set the MANPATH environment variable directly.
The options are as follows:
- -d Output additional debug information.
- -L Output man locales list (if it exists).
- -q Operate quietly. Only echo the final result.
Comments