05-24-2011
Quote:
Originally Posted by
Vit0_Corleone
It seems AIX 6.1 does not need the fix :-) not sure
I'm trying to install oracle but the installer reports such patch is required
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all
I am using HPUX11.00
i want to know how to see all installed PATCHES ..and also to see any perticular patch has been installed or not
solaris showrev -p does not work in HPUX
please suggest any command
thanks
praful (1 Reply)
Discussion started by: Prafulla
1 Replies
2. UNIX for Dummies Questions & Answers
How can I tell when Sco Openserver 5.0.5 was installed on a server? Is there a file somewhere that will have a date that the installation took place?
Thanks,
Stufine (0 Replies)
Discussion started by: stufine
0 Replies
3. Solaris
Hi Unix Experts,
I'm told to install WebSphere MQ on Sun 5.9 box. Before I install it, my task is to find out what OS patches have already installed on the box.
I tried pkginfo -i command but it gives all of the packages installed.
I want to find out a specific patch has been installed or... (1 Reply)
Discussion started by: hkhan12
1 Replies
4. AIX
hi all,
how do i verify if my aix 4.x/5.x server have firewall installed on the os?
thanks in advance. (1 Reply)
Discussion started by: itik
1 Replies
5. AIX
hi all
i need an command to list all installed patches in aix 5.3 (5 Replies)
Discussion started by: maxim42
5 Replies
6. Red Hat
Hey there,
i run 1: on my server (RHEL 6) and getting response that the libodbc is not installed. If i use yum for installation, it tells me, there is no package like this ( 2: ). Since in the description of Definiens is mentioned that the Run-time dependency is unixODBC (libodbc.so.1), I assume... (2 Replies)
Discussion started by: rkirsten
2 Replies
7. Solaris
Hi Folks,
I am getting the following error when trying to see installed patches on my Solaris 9 system :wall:
# patchadd -p
No patches installed
#
Any help will be much appreciated
Thanks in advance (1 Reply)
Discussion started by: momin
1 Replies
8. AIX
I need to find out list of installed patches from given list of patches.
I have tried using instfix -f <File containing list of patches> -i -c
But I was not able to understand the output of this command. It was like below.
bos.perf.tools: :0.0.0.0:?:
bos.rte.libc: :0.0.0.0:?: ... (4 Replies)
Discussion started by: Saurabh Agrawal
4 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. 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 DEBIAN
shell-quote
SHELL-QUOTE(1p) User Contributed Perl Documentation SHELL-QUOTE(1p)
NAME
shell-quote - quote arguments for safe use, unmodified in a shell command
SYNOPSIS
shell-quote [switch]... arg...
DESCRIPTION
shell-quote lets you pass arbitrary strings through the shell so that they won't be changed by the shell. This lets you process commands
or files with embedded white space or shell globbing characters safely. Here are a few examples.
EXAMPLES
ssh preserving args
When running a remote command with ssh, ssh doesn't preserve the separate arguments it receives. It just joins them with spaces and
passes them to "$SHELL -c". This doesn't work as intended:
ssh host touch 'hi there' # fails
It creates 2 files, hi and there. Instead, do this:
cmd=`shell-quote touch 'hi there'`
ssh host "$cmd"
This gives you just 1 file, hi there.
process find output
It's not ordinarily possible to process an arbitrary list of files output by find with a shell script. Anything you put in $IFS to
split up the output could legitimately be in a file's name. Here's how you can do it using shell-quote:
eval set -- `find -type f -print0 | xargs -0 shell-quote --`
debug shell scripts
shell-quote is better than echo for debugging shell scripts.
debug() {
[ -z "$debug" ] || shell-quote "debug:" "$@"
}
With echo you can't tell the difference between "debug 'foo bar'" and "debug foo bar", but with shell-quote you can.
save a command for later
shell-quote can be used to build up a shell command to run later. Say you want the user to be able to give you switches for a command
you're going to run. If you don't want the switches to be re-evaluated by the shell (which is usually a good idea, else there are
things the user can't pass through), you can do something like this:
user_switches=
while [ $# != 0 ]
do
case x$1 in
x--pass-through)
[ $# -gt 1 ] || die "need an argument for $1"
user_switches="$user_switches "`shell-quote -- "$2"`
shift;;
# process other switches
esac
shift
done
# later
eval "shell-quote some-command $user_switches my args"
OPTIONS
--debug
Turn debugging on.
--help
Show the usage message and die.
--version
Show the version number and exit.
AVAILABILITY
The code is licensed under the GNU GPL. Check http://www.argon.org/~roderick/ or CPAN for updated versions.
AUTHOR
Roderick Schertler <roderick@argon.org>
perl v5.8.4 2005-05-03 SHELL-QUOTE(1p)