Wondering if this issue ".." still exists on AIX 6.1 TL 6 SP3 ?
You can check with "instfix" if a specific APAR is included in your installed version:
would tell you if "IZ42940" (to be precise: the fix for this) is installed or not.
See also (might be helpful):
I hope this helps.
bakunin
PS: There should also be a page at IBMs "Fix Central" where you could search for this information for any given version/subrelease of any package. I didn't try to find the page now, but used to use it several times, you will find it relatively easy.
Hello Guys:
Would like to know how to take an entire system backup.. Here is the entire scenario.. I am working on a system that is AIX RS6000 M80 Server. We have loaded the OS and installed all the patches and then we took an entire system backup. We also verified by restoring the same... (2 Replies)
Hi All,
I need to identify the number of DIMMs installed on the system programatically. Are there any known methods to do this. I would like to know whether any of the UNIX kernels have support for this. I am using the SVR4.2 MP-RAS unix.
I have seen this info being displayed in AIDA32 (windows... (0 Replies)
Hi there, I am designing a software rollout script and need to check if a particular file exists on a remote system
something along the lines of
if ; then blah blah
The above doesnt work but you get the general idea....is there a way I can do this on a single line ??
any help would... (2 Replies)
say i have a system on thats on a network with access to the internet.
now, i have sensitive information on this system and i do not want the system to be connected to the outside world anymore. how do i get it off the network without actually having to disconnect the cables?
i'm asking this... (4 Replies)
Hi All,
I am facing System Speed problem.i saw in top command
Xorg process was taking most of the time 20% of CPU and Memory.How to make it normal.
Currently i am using AMD Athlon 64 HT technology processor(Socket 939)
512 DDR1 RAM
Nvidia 5200 GeForce 128 MB Graphic card.
i need help in... (2 Replies)
1. The problem statement, all variables and given/known data:
Hi all,
I've got a huuuuuuge problem with understanding this new concept of multi-paging. I really tried to research but i could not find anything significant. I've been trying to understand this for 4 days and i cannot. The question... (0 Replies)
If X was not installed, what would print data onto the display? Does it include applications form Gpl/Gnu or is it a daemon only?
Thanks in advance!:wall: (2 Replies)
Dear All,
OS = Solaris 5.10
Hardware Sun Fire T2000 with 1 Ghz quode core
We have oracle application 11i with 10g database. When ever i am trying to take cold backup of database with 55GB size its taking long time to finish. As the application is down nobody is using the server at all... (8 Replies)
Hi experts,
I am running a solaris 10 with oracle 10 on a system with 96 GB physical memory. the system has a lot of swap space. the oracle SGA is 50 GB and PGA 40 GB. Here are the stats
vmstat -i
interrupt total rate
--------------------------------
clock ... (5 Replies)
Discussion started by: afadaghi
5 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)