11-23-2011
On UNIX systems sometimes the Path is set in the .profile file in your home directory, and runs anytime you log in. Check your .profile (it is hidden so you will not be able to see it with ls) just navigate to your home directory "cd ~" (without quotes) and type "cat .profile" (also without quotes). There may be a small script that sets the path.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
i'm designing a unix script and i want to know if there is a shell command or a way to see if perl is installed in the system.
thanks in advance! (5 Replies)
Discussion started by: kfad
5 Replies
2. UNIX for Dummies Questions & Answers
Hi,
How can I know the perl interpreter is installed in the system?
When I type 'find / -name perl -print 2>/dev/null', there is 6 lines listing:
/usr/local/bin/perl
/usr/bin/perl
/usr/lib/perl-5.8.0/bin/perl
/usr/opt/IAFW310/PERL/perl
/usr/opt/IAFW310/PERL/t/perl... (3 Replies)
Discussion started by: zp523444
3 Replies
3. AIX
Hi all,
I wanted to know if Perl comes installed by default on AIX 5.2 and 5.3. I know it's available through the Linux affinity toolbox, but couldn't figure out if it's installed by default along with the RPM (rpm.rte). Does anyone know for sure?
Thanks,
JP (4 Replies)
Discussion started by: jbeaudry
4 Replies
4. Shell Programming and Scripting
I use CentOS .
I want to know how to find out which sql i have installed ..
Can anyone tell .. (2 Replies)
Discussion started by: madhumathikv
2 Replies
5. UNIX for Dummies Questions & Answers
Hi;
Is there a way to determine for sure how many NIC ports installed on my Linux box?
I tried to run "lspci" but not sure about the results, it's not clear.
Below are the results when i run both "ifconfig" & "lspci" on my Linux box i hope someone can help me finding the actual numbers of... (1 Reply)
Discussion started by: Katkota
1 Replies
6. UNIX for Dummies Questions & Answers
Hi,
How to find the CVS installed location on Solaris machine.
~Vinodh' Kumar
---------- Post updated at 01:14 PM ---------- Previous update was at 12:36 PM ----------
I got the solution. (2 Replies)
Discussion started by: vino_hymi
2 Replies
7. AIX
I have an aix server, it is not a VIO server or client. I need to check if it has multi-path driver installed, how to check it? (1 Reply)
Discussion started by: rainbow_bean
1 Replies
8. UNIX for Advanced & Expert Users
we create a HP-UX software depot with a new perl-modul. after installation of the software depot, the perl module
i can't find with instmodsh in the inventory for installed Perl modules.
- i have learned of using instmodsh command : i find out what modules are already installed on my system.
... (0 Replies)
Discussion started by: bora99
0 Replies
9. Solaris
Hi all,
Recently i wanted to see if i have openssl installed in my system (solaris 10), so i do this (not sure if this is the right way to do this)
pkginfo -i | grep -i "ssl"
system SUNWopenssl-commands OpenSSL Commands (Usr)
system SUNWopenssl-include ... (3 Replies)
Discussion started by: javanoob
3 Replies
10. UNIX for Beginners Questions & Answers
Hello Forum,
I'm issuing a one line bash command to look for the version of an installed application and saving the result to a variable like so:
APP=application --version
But if the application is not installed I want to return to my variable that the Application is not installed. So I'm... (2 Replies)
Discussion started by: greavette
2 Replies
LEARN ABOUT ULTRIX
xuninstallcolormap
XInstallColormap(3X11) MIT X11R4 XInstallColormap(3X11)
Name
XInstallColormap, XUninstallColormap, XListInstalledColormaps - control colormaps
Syntax
XInstallColormap(display, colormap)
Display *display;
Colormap colormap;
XUninstallColormap(display, colormap)
Display *display;
Colormap colormap;
Colormap *XListInstalledColormaps(display, w, num_return)
Display *display;
Window w;
int *num_return;
Arguments
colormap Specifies the colormap.
display Specifies the connection to the X server.
num_return
Returns the number of currently installed colormaps.
w Specifies the window that determines the screen.
Description
The function installs the specified colormap for its associated screen. All windows associated with this colormap immediately display with
true colors. You associated the windows with this colormap when you created them by calling or
If the specified colormap is not already an installed colormap, the X server generates a event on each window that has that colormap. In
addition, for every other colormap that is installed as a result of a call to the X server generates a event on each window that has that
colormap.
can generate a error.
The function removes the specified colormap from the required list for its screen. As a result, the specified colormap might be unin-
stalled, and the X server might implicitly install or uninstall additional colormaps. Which colormaps get installed or uninstalled is
server-dependent except that the required list must remain installed.
If the specified colormap becomes uninstalled, the X server generates a event on each window that has that colormap. In addition, for
every other colormap that is installed or uninstalled as a result of a call to the X server generates a event on each window that has that
colormap.
can generate a error.
The function returns a list of the currently installed colormaps for the screen of the specified window. The order of the colormaps in the
list is not significant and is no explicit indication of the required list. When the allocated list is no longer needed, free it by using
can generate a error.
Diagnostics
A value for a Colormap argument does not name a defined Colormap.
A value for a Window argument does not name a defined Window.
See Also
XChangeWindowAtrributes(3X11), XCreateColormap(3X11), XCreateWindow(3X11), XFree(3X11)
X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys
XInstallColormap(3X11)