02-22-2009
I found the solution. By default, MANPATH is set to /usr/share/man (I do not know where though). When I set the MANPATH in the .profile, it overwrites the default. To resolve that, /usr/share/man needs to be added as well. The .profile would look like:
TERM=vt100;export TERM
PATH=/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/lib:/usr/local/share:/usr/ccs/bin:/usr/ucb:/opt/SUNWldm/bin:/opt/SUNWldm/man:/usr/X/bin:/usr/X11/bin
export PATH
MANPATH=/usr/share/man:/opt/SUNWldm/man
export MANPATH
Last edited by StarSol; 03-03-2009 at 05:59 PM..
6 More Discussions You Might Find Interesting
1. Programming
If i have my own application ( say 'myTool'), then is it possible to create a man page for it?
such that "man myTool" will give information about it.
if so how to go about it?
thanks in advance,
Nads (3 Replies)
Discussion started by: Nads
3 Replies
2. UNIX for Dummies Questions & Answers
When reading man pages, I notice that sometimes commands are follwed by a number enclosed in parenthesis. such as:
mkdir calls the mkdir(2) system call.
What exactly does this mean? (4 Replies)
Discussion started by: dangral
4 Replies
3. UNIX for Dummies Questions & Answers
Can any one show me how to create an alias account that silently copies local emails to the administrator (root) using a linux cmd line or GUI?
The answer needs to be very simplly explained at this stage, as I am new to the command prompt...expecialy in linux.
thanks heaps guys
Pipa:)
I... (2 Replies)
Discussion started by: Pipa
2 Replies
4. UNIX for Dummies Questions & Answers
hello every one im a new to unix i use solaris 9 experimental i would like to use real unix system but there are to many versions and i need someone to recommend a good one for me i also need help on how to use "man" (3 Replies)
Discussion started by: abu_malek
3 Replies
5. Shell Programming and Scripting
How to get only the options and arguments of a command excluding the
descriptive help? (1 Reply)
Discussion started by: mayur_verma
1 Replies
6. UNIX for Dummies Questions & Answers
man pages are located beneath /usr/share/man.
e.g., manual pages for "section 1" are located in /usr/share/man/man1/.
And /usr/share/man/man*p should contain manual pages for POSIX programmers.
I need to know what /usr/share/man/man*x directories should contain ? (1 Reply)
Discussion started by: new0h
1 Replies