Skip site navigation (1)Skip section navigation (2)

FreeBSD Man Pages

Man Page or Keyword Search:
Man Architecture
Apropos Keyword Search (all sections) Output format
home | help
MANPATH(1)		FreeBSD	General	Commands Manual		    MANPATH(1)

NAME
     manpath --	determine user's search	path for man pages

SYNOPSIS
     manpath [-dLq]

DESCRIPTION
     Manpath tries to determine	the user's manpath from	a set of system
     defaults and the user's PATH, echoing the result to the standard output.
     Warnings and errors are written to	the standard error.  If	a directory in
     the user's	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.

     Manpath is	used by	man(1) to determine the	search path, so	users normally
     don't need	to set the MANPATH environment variable	directly.

     The options are as	follows:

     -d		 Output	additional debug information.

     -L		 Output	man locales list (if exist).

     -q		 Operate quietly.  Only	echo the final result.

ENVIRONMENT
     MANPATH	 If MANPATH is set, manpath echoes its value on	the standard
		 output	and issues a warning on	the standard error.
     MANLOCALES	 If MANLOCALES is set and -L option is set, manpath echoes its
		 value on the standard output and issues a warning on the
		 standard error.

FILES
     /etc/manpath.config  System configuration file.

SEE ALSO
     apropos(1), man(1), whatis(1)

BUGS
     None known.

FreeBSD	10.1			August 16, 1999			  FreeBSD 10.1

NAME | SYNOPSIS | DESCRIPTION | ENVIRONMENT | FILES | SEE ALSO | BUGS

Want to link to this manual page? Use this URL:
<http://www.freebsd.org/cgi/man.cgi?query=manpath&sektion=1&manpath=FreeBSD+5.2.1-RELEASE>

home | help