01-14-2002
the variable MANPATH was not set but defined as
/usr/dt/man:/usr/man
so i added the path of gcc to the end and rebooted. As a result, manpage to gcc is still not working but to others are still ok and the echo $MANPATH command gave
/usr/dt/man:/usr/man:/usr/dt/man/usr/man:/usr/local/bin/gcc
(new path for gcc)
any clues what is wrong?
Rachael
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi folks,
I want to know all the commands for which man pages are available. How do i get it?
Cheers,
Nisha (4 Replies)
Discussion started by: Nisha
4 Replies
2. 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
3. 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
4. Solaris
AIM- Install Oracle 11g on Solaris using VMWare
Steps
1.Logged on as root
2.Created subfolders à /usr/local/bin & /usr/local/bin/gcc
3.Downloaded gcc & libiconv & unzipped them on my harddrive & burnt them on CD
4.Copied files from CD to /usr/local/bin/gcc
5.Terminal (root) à pkgadd -d... (8 Replies)
Discussion started by: Ackers
8 Replies
5. Solaris
According to Sun documentation (Ldoms 1.1 Administration Guide), To access the ldm(1M) man page, add the directory path /opt/SUNWldm/man to the variable $MANPATH. When I add the lines:
MANPATH=$MANPATH:/opt/SUNWldm/man
export MANPATH
to .profile, exit root and re-login, I would have "man ldm"... (5 Replies)
Discussion started by: StarSol
5 Replies
6. Linux
Hey people do u know how to disable the man command in linux???
i am not able to do anythg apart from disabling the permission for /usr/bin/...
i dont wanna uninstall the man / man pages also...
this has been one of the toughest challenges i have come across in linux...
can anybody... (5 Replies)
Discussion started by: linux.user
5 Replies
7. 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
8. Post Here to Contact Site Administrators and Moderators
Is it possible to specify the section as well as the OS when using tags? I played with a few combinations but without success. (3 Replies)
Discussion started by: CarloM
3 Replies
9. UNIX for Dummies Questions & Answers
Hi friends,
When I try to see the man pages of gcc,
man gcc
I see
No manual entry for gcc.
Could you help me please. I am running solaris 10
Thanks! (4 Replies)
Discussion started by: gabam
4 Replies
10. 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
LEARN ABOUT OPENSOLARIS
whereis
whereis(1B) SunOS/BSD Compatibility Package Commands whereis(1B)
NAME
whereis - locate the binary, source, and manual page files for a command
SYNOPSIS
/usr/ucb/whereis [-bmsu] [-BMS directory... -f] filename...
DESCRIPTION
The whereis utility locates source/binary and manuals sections for specified files. The supplied names are first stripped of leading path-
name components and any (single) trailing extension of the form .ext, for example, .c. Prefixes of s. resulting from use of source code
control are also dealt with. whereis then attempts to locate the desired program in a list of standard places:
etc
/sbin
/usr/bin
/usr/ccs/bin
/usr/ccs/lib
/usr/lang
/usr/lbin
/usr/lib
/usr/sbin
/usr/ucb
/usr/ucblib
/usr/ucbinclude
/usr/games
/usr/local
/usr/local/bin
/usr/new
/usr/old
/usr/hosts
/usr/include
/usr/etc
OPTIONS
The following options are supported:
-b Searches only for binaries.
-B Changes or otherwise limits the places where whereis searches for binaries.
-f Terminates the last directory list and signals the start of file names, and must be used when any of the -B, -M, or -S options are
used.
-m Searches only for manual sections.
-M Changes or otherwise limits the places where whereis searches for manual sections.
-s Searches only for sources.
-S Changes or otherwise limit the places where whereis searches for sources.
-u Searches for unusual entries. A file is said to be unusual if it does not have one entry of each requested type. Thus `whereis -m -u
*' asks for those files in the current directory which have no documentation.
EXAMPLES
Example 1 Finding files
Find all files in /usr/bin which are not documented in /usr/share/man/man1 with source in /usr/src/cmd:
example% cd /usr/ucb
example% whereis -u -M /usr/share/man/man1 -S /usr/src/cmd -f *
FILES
o /usr/src/*
o /usr/{doc,man}/*
o /etc, /usr/{lib,bin,ucb,old,new,local}
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWscpu |
+-----------------------------+-----------------------------+
SEE ALSO
chdir(2), attributes(5)
BUGS
Since whereis uses chdir(2) to run faster, pathnames given with the -M, -S, or -B must be full; that is, they must begin with a `/'.
SunOS 5.11 10 Jan 2000 whereis(1B)