MANPATH(1) BSD General Commands Manual MANPATH(1)NAME
manpath -- display search path for manual pages
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/../man
Note: Special logic exists to make /bin and /usr/bin look in /usr/share/man for manual files.
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)BSD September 1, 2010 BSD
Check Out this Related Man Page
APROPOS(1) BSD General Commands Manual APROPOS(1)NAME
apropos, whatis -- keyword search whatis documentation databases
SYNOPSIS
apropos [-d] keyword ...
whatis [-d] keyword ...
DESCRIPTION
The apropos utility searches a set of databases looking for documentation matching each keyword and displays the results. The whatis utility
does the same search but only on complete words.
-d Print extra debugging information.
The keyword is simply passed to grep(1) allowing for extended regular expression matches.
ENVIRONMENT
The following environment variables affect the execution of apropos:
MANLOCALES, MANPATH, PATH
Used to find the location of the whatis database files. See manpath(1) for additional information.
PAGER Program used to display files. If unset, more -s is used.
DIAGNOSTICS
The apropos utility exits 0 if a keyword matched and 1 if no keywords are matched or no whatis databases are found.
SEE ALSO grep(1), makewhatis(1), man(1), manpath(1), man.conf(5)BSD September 1, 2010 BSD
I know is about MANPATH, BUT i don't how.
Perl is in my network. however, i am not able to use conmmand line "man perl". can anyone tell me? (6 Replies)
Hi,
How does the PATH and MANPATH environment variable get set?
I want to add "/opt/SUNWspro/bin" to the search path for all the users. Where can I access this variable.
I know in my home directory, depend on which shell I use, there are files such as .profile and .cshrc which I can edit to... (3 Replies)
HEllo,
I try to Launch OOO, but I have X configuration problem.
I 'm searching in man pages but if someone can help me...
Of course I set the DISPLAY as explain in the man page but with no more result: setenv DISPLAY myws:0
Thanks in advance (1 Reply)
hi,
I m not able to see manual page of any commmand in my linux system.
every time if i m typing $man <comand> it is showing the no manual
entry . I think the man path is not set properrly . could any one tell me how
to get the man pages location in the system so that i can set it.... (1 Reply)
I'm looking for an explanation to what appears to be some kind of shell substitution values found in various path environment variables such as PATH, CDPATH, MANPATH, etc. These values appear as things like %T, %S, %N, %L. I'm not sure what these mean, and have searched through a multitude of man... (6 Replies)
The following files were wiped out - new empty files were left in their place.
/etc/inittab, /etc/inetd.conf, and /etc/MANPATH
The system is running HP-UX 11i v3 - Mar08.
Anyone seen anything like this?
Any ideas on a way to figure this out if it happens again or a suggested way to... (9 Replies)
Hello I'm finding a lot of results come up in google about manpath but none of them seem to help. I would like to add some files to my man path so that I can type things like `man -k fluxbox` and even though I don't have fluxbox installed at all, man will find that I have some personal notes on... (2 Replies)
I know that the manpath varable /etc/man.config:
# Every automatically generated MANPATH includes these fields
#
MANPATH /usr/man
MANPATH /usr/share/man
MANPATH /usr/local/man
MANPATH /usr/local/share/man
MANPATH /usr/X11R6/man
but run manpath result:
# manpath... (0 Replies)
Hi
I am creating a utility which needs to create a log file under the path represented by an environment variable. The condition is that this path must be a valid DIRECTORY PATH. So i need to determine that the path is indeed a VALID DIRECTORY PATH.
I have written a function which will return... (2 Replies)
dear unix experts,
the 'man' command on my system isn't finding a manpage that is
in a MANPATH directory, or even when I specify the path directly:
12:56pm ilya@node1390 /idi/sabetilab/ilya/usr/share/man $ man -M . xemacs
No manual entry for xemacs
12:56pm ilya@node1390... (4 Replies)