09-11-2008
A useful convention is to put stuff you have installed by hand in /opt or /usr/local and let the package management system completely reign over /usr/bin, /bin, /usr/sbin, etc.
10 More Discussions You Might Find Interesting
1. Solaris
Hello all
is there any way to get installed patch list on Solaris ?
thanks (1 Reply)
Discussion started by: umen
1 Replies
2. Solaris
Hi all,
how to find 3rd party softwares like Oracle,phpldapadmin,Citrix etc (other than packages) which are installed on a linux box.
Please guide me to get this info'n on LINUX/SOLARIS.
Thanks in advance,
Uday (0 Replies)
Discussion started by: uday123
0 Replies
3. AIX
hi all
i need an command to list all installed patches in aix 5.3 (5 Replies)
Discussion started by: maxim42
5 Replies
4. Web Development
Hi all, :)
I am using linux ubuntu 10.04
I need to make flash web animation with linux and im searching for an open source software like Adobe Flash..
(Now i am using wine and am running Flash on it...)
thanks.. (0 Replies)
Discussion started by: sitex
0 Replies
5. Ubuntu
Hi
I would like to ask in ubuntu or linux on how to list all my package or software the i installed via source code( compile installed in dir default is /usr/local) just like i solaris in which if you installed a package in ur choosing default root installation dir you can just issue a command... (2 Replies)
Discussion started by: jao_madn
2 Replies
6. HP-UX
Hi All,
I am trying to list down all the installed application/packages on hp-ux machine in below format :
packagename:<application/package name> ; <application/package version> ; <application/package vendor>
can someone suggest with small script for this.Will swlist command give... (4 Replies)
Discussion started by: omkar.jadhav
4 Replies
7. AIX
Hi All,
I am new bee in AIX and i am trying to list out installed packages on any AIX machine in below format:
packagename:<application/package name> ; <application/package version> ; <application/package vendor>
can some one please suggest small script which will use lslpp and provide... (5 Replies)
Discussion started by: omkar.jadhav
5 Replies
8. Solaris
I need to know information regarding the softwares/applications that are installed on my Solaris server and also its end of life or support information.
Can some one help me how to get these details please...
Thanks (3 Replies)
Discussion started by: ssk250
3 Replies
9. Solaris
Does anyone know of a command that would show the list of patches installed and the date it was installed? My understanding is that "showrev -p" would show patches but not the date they were installed. I'm looking for this on a Solaris 10 server. Thanks. (2 Replies)
Discussion started by: ixauditor
2 Replies
10. Shell Programming and Scripting
Dear All,
I am planning to find the list of certificates(WEBshpere/MQ) on a servers.
My certificates are either stored in (.jks) / (.pem)/ (.cer) . But some of the certificates are stored without these file formats. I tried using find command but unless I give the file name its difficult for... (4 Replies)
Discussion started by: sidh_arth85
4 Replies
LEARN ABOUT SUNOS
getusershell
getusershell(3C) Standard C Library Functions getusershell(3C)
NAME
getusershell, setusershell, endusershell - get legal user shells
SYNOPSIS
#include <unistd.h>
char *getusershell(void);
void setusershell(void);
void endusershell(void);
DESCRIPTION
The getusershell() function returns a pointer to a legal user shell as defined by the system manager in the file /etc/shells. If
/etc/shells does not exist, the following locations of the standard system shells are used in its place:
/bin/bash /bin/csh
/bin/jsh /bin/ksh
/bin/pfcsh /bin/pfksh
/bin/pfsh /bin/sh
/bin/tcsh /bin/zsh
/sbin/jsh /sbin/pfsh
/sbin/sh /usr/bin/bash
/usr/bin/csh /usr/bin/jsh
/usr/bin/ksh /usr/bin/pfcsh
/usr/bin/pfksh /usr/bin/pfsh
/usr/bin/sh /usr/bin/tcsh
/usr/bin/zsh /usr/xpg4/bin/sh
The getusershell() function opens the file /etc/shells, if it exists, and returns the next entry in the list of shells.
The setusershell() function rewinds the file or the list.
The endusershell() function closes the file, frees any memory used by getusershell() and setusershell(), and rewinds the file /etc/shells.
RETURN VALUES
The getusershell() function returns a null pointer on EOF.
BUGS
All information is contained in memory that may be freed with a call to endusershell(), so it must be copied if it is to be saved.
SunOS 5.10 30 Aug 2004 getusershell(3C)