Where set manpath?

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Where set manpath?
# 1  
Old 09-13-2010
Where set manpath?

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:

[root@total ~]# manpath
/usr/kerberos/man:/usr/local/share/man:/usr/share/man/en:/usr/share/man


why?please help me,thanks.

---------- Post updated at 08:36 AM ---------- Previous update was at 08:31 AM ----------

linux release:RHEL 5.3
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Help needed with shell script to search and replace a set of strings among the set of files

Hi, I am looking for a shell script which serves the below purpose. Please find below the algorithm for the same and any help on this would be highly appreciated. 1)set of strings need to be replaced among set of files(directory may contain different types of files) 2)It should search for... (10 Replies)
Discussion started by: Amulya
10 Replies

2. UNIX for Dummies Questions & Answers

man page in MANPATH not found

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)
Discussion started by: notestaff
4 Replies

3. Solaris

LC_ALL & LANG are set OK, but others couldn't set locale correctly.

Hi, I have a Solaris (SunOS 5.10) installed, by default with the en_AU.UTF-8 locale. I want to change it to en_US.UTF-8 With AU, I have no issues whatsoever, so I installed the language package and now locale -a shows "en_US.UTF-8". Problem is even with LC_ALL set in etc/default/init, the... (2 Replies)
Discussion started by: asdfg
2 Replies

4. Shell Programming and Scripting

set Net:SSH:Expect timeout and set it again.

SSHing into a machine can take a few seconds, but after I'm in, the commands return quickly. I was wondering if the timeout setting can be changed once I'm logged into the machine. Does anyone know if this can be set on the fly? The problem here is, if I have to set timeout = 10, it'll take 10... (1 Reply)
Discussion started by: mrwatkin
1 Replies

5. UNIX for Dummies Questions & Answers

How to set server's ip address, router, network mask and set if it is an internal or external ip?

Hello, I need to write a program which sets server's ip address, router, network mask. Program also should set if it is an internal or external ip. Maybe someone can help me ? Any information from u is very useful :b: I stopped at .. :( #!/bin/sh A=`hostname -i` echo "server ip address is $A"... (4 Replies)
Discussion started by: zagaruika
4 Replies

6. Shell Programming and Scripting

MANPATH undefined error

Hello All, I m using Linux OS and the default shell is C shell. Till today the startup file (.login ) was invoking first and the environment variable set there working properly but after some software installation - now the .login file is not invoking at the startup and subsequently the... (1 Reply)
Discussion started by: jambesh
1 Replies

7. UNIX for Dummies Questions & Answers

manpath errors -- standard way to set? does anyone even use it anymore?

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)
Discussion started by: jzacsh
2 Replies

8. UNIX for Advanced & Expert Users

How does the PATH and MANPATH environment variable get set?

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)
Discussion started by: vtran4270
3 Replies
Login or Register to Ask a Question
MANPATH(1)							Manual pager utils							MANPATH(1)

NAME
manpath - determine search path for manual pages SYNOPSIS
manpath [-qgdc?V] [-m system[,...]] [-C file] 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. -m system[,...], --systems=system[,...] If this system has access to other operating system's manual hierarchies, this option can be used to include them in the output of manpath. To include NewOS's manual page hierarchies use the option -m NewOS. The system specified can be a combination of comma delimited operating system names. To include the native operating system's man- ual page hierarchies, the system name man must be included in the argument string. This option will override the $SYSTEM environ- ment variable. -C file, --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 If $MANPATH is set, manpath displays its value rather than determining it on the fly. If $MANPATH is prefixed by a colon, then the value of the variable is appended to the list determined from the content of the configuration files. If the colon comes at the end of the value in the variable, then the determined list is appended to the content of the variable. If the value of the variable contains a double colon (::), then the determined list is inserted in the middle of the value, between the two colons. 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. (G.Wilford@ee.surrey.ac.uk). Fabrizio Polacco (fpolacco@debian.org). Colin Watson (cjwatson@debian.org). 2.8.3 2018-04-05 MANPATH(1)