| -q--quiet | Do not issue warnings. |
| -d--debug | Print debugging information. |
| -c--catpath | Produce a catpath as opposed to a manpath. Once the manpath is determined, each path element is converted to its relative catpath. |
| -g--global | Produce a manpath consisting of all paths named as "global" within the man-db configuration file. |
| -msystem--systems | The system specified can be a combination of comma delimited operating system names. To include the native operating system's manual page hierarchies, the system name man must be included in the argument string. This option will override the $SYSTEM environment variable. |
| -Cfile--config-file | Use this user configuration file rather than the default of ~/.manpath. |
| -?--help | Print a help message and exit. |
| --usage | Print a short usage message and exit. |
| -V--version | Display version information. |
| MANPATH | See the SEARCH PATH section of manpath(5) for the default behaviour and details of how this environment variable is handled. |
| SYSTEM | If $SYSTEM is set, it will have the same effect as if it had been specified as the argument to the -m option. |
| /etc/manpath.config | man-db configuration file. |
NAME
manpath - determine search path for manual pages
SYNOPSIS
manpath [-qgdc?V] [-msystem[,...]] [-Cfile]
DESCRIPTION
If $MANPATH is set, manpath will simply display its contents and issue a warning. If not, manpath will determine a suitable manual page hierarchy search path and display the results.
The colon-delimited path is determined using information gained from the man-db configuration file – (/etc/manpath.config) and the user's environment.
OPTIONS
- -q, --quiet
Do not issue warnings.
- -d, --debug
Print debugging information.
- -c, --catpath
Produce a catpath as opposed to a manpath. Once the manpath is determined, each path element is converted to its relative catpath.
- -g, --global
Produce a manpath consisting of all paths named as "global" within the man-db configuration file.
- -msystem[,...], --systems=system[,...]
The system specified can be a combination of comma delimited operating system names. To include the native operating system's manual page hierarchies, the system name man must be included in the argument string. This option will override the $SYSTEM environment variable.
- -Cfile, --config-file=file
Use this user configuration file rather than the default of ~/.manpath.
- -?, --help
Print a help message and exit.
- --usage
Print a short usage message and exit.
- -V, --version
Display version information.
ENVIRONMENT
- MANPATH
See the SEARCH PATH section of manpath(5) for the default behaviour and details of how this environment variable is handled.
- SYSTEM
If $SYSTEM is set, it will have the same effect as if it had been specified as the argument to the -m option.
FILES
- /etc/manpath.config
man-db configuration file.
SEE ALSO
apropos(1), man(1), whatis(1)
AUTHOR
Wilf. ([email protected]).
Fabrizio Polacco ([email protected]).
Colin Watson ([email protected]).BUGS
https://gitlab.com/man-db/man-db/-/issues https://savannah.nongnu.org/bugs/?group=man-db