1MANPATH(1) Manual pager utils MANPATH(1)
2
3
4
6 manpath - determine search path for manual pages
7
9 manpath [-qgdc?V] [-m system[,...]] [-C file]
10
12 If $MANPATH is set, manpath will simply display its contents and issue
13 a warning. If not, manpath will determine a suitable manual page hier‐
14 archy search path and display the results.
15
16 The colon-delimited path is determined using information gained from
17 the man-db configuration file – (/etc/man_db.conf) and the user's envi‐
18 ronment.
19
21 -q, --quiet
22 Do not issue warnings.
23
24 -d, --debug
25 Print debugging information.
26
27 -c, --catpath
28 Produce a catpath as opposed to a manpath. Once the manpath is
29 determined, each path element is converted to its relative cat‐
30 path.
31
32 -g, --global
33 Produce a manpath consisting of all paths named as "global"
34 within the man-db configuration file.
35
36 -m system[,...], --systems=system[,...]
37 If this system has access to other operating systems' manual hi‐
38 erarchies, this option can be used to include them in the output
39 of manpath. To include NewOS's manual page hierarchies use the
40 option -m NewOS.
41
42 The system specified can be a combination of comma delimited op‐
43 erating system names. To include the native operating system's
44 manual page hierarchies, the system name man must be included in
45 the argument string. This option will override the $SYSTEM en‐
46 vironment variable.
47
48 -C file, --config-file=file
49 Use this user configuration file rather than the default of
50 ~/.manpath.
51
52 -?, --help
53 Print a help message and exit.
54
55 --usage
56 Print a short usage message and exit.
57
58 -V, --version
59 Display version information.
60
62 MANPATH
63 If $MANPATH is set, manpath displays its value rather than de‐
64 termining it on the fly.
65
66 See the SEARCH PATH section of manpath(5) for the default behav‐
67 iour and details of how this environment variable is handled.
68
69 SYSTEM If $SYSTEM is set, it will have the same effect as if it had
70 been specified as the argument to the -m option.
71
73 /etc/man_db.conf man-db configuration file.
74
76 apropos(1), man(1), whatis(1)
77
79 Wilf. (G.Wilford@ee.surrey.ac.uk).
80 Fabrizio Polacco (fpolacco@debian.org).
81 Colin Watson (cjwatson@debian.org).
82
84 https://gitlab.com/man-db/man-db/-/issues
85 https://savannah.nongnu.org/bugs/?group=man-db
86
87
88
892.11.2 2023-01-08 MANPATH(1)