LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

manpath

determines and displays the search path used to find manual pages

TLDR

Display search path
$ manpath
copy
Show global manpath
$ manpath --global
copy

SYNOPSIS

manpath [options]

DESCRIPTION

manpath determines and displays the search path used to find manual pages. It examines configuration files and environment variables to construct the path.

PARAMETERS

-g, --global

Show entire global manpath
-d, --debug
Print debugging information
-q, --quiet
Suppress warnings
-c, --catpath
Show catpath instead of manpath
-V, --version
Display version information
-h, --help
Display help

ENVIRONMENT

MANPATH: Override default search pathPATH: Used to derive manpath if MANPATH unset

CAVEATS

If MANPATH is set, manpath generally returns its value unaltered (or augmented per the configuration files). Otherwise it derives the path from /etc/manpath.config and PATH.

SEE ALSO

man(1), mandb(8)

Copied to clipboard
Kai