10-09-2008
Quote:
Originally Posted by
kumarmani
Thanks Dear,
can i get some more detail or may be nay good link know to u guys, was trying to access the same on sun and its asking for support contract.
a link for what?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello everybody!!
I need your help again.
I am using Sun Ultra sparc 60 machine.Follwing are the types of files getting generated in /var/tmp.
"windu_sm_o aaaa,baaa,caaa,daaa" etc.
I am not able to locate which application is generating these files.
Can I straightway delete these files ? or... (1 Reply)
Discussion started by: vikasdeshmukh
1 Replies
2. UNIX Benchmarks
Sparc Ultra2:
Notes
prtdiag:
System Configuration: Sun Microsystems sun4u Sun Ultra 2 UPA/SBus (2 X UltraSPARC-II 296MHz)
System clock frequency: 99 MHz
Memory size: 768 Megabytes
========================= CPUs =========================
Run Ecache CPU CPU... (0 Replies)
Discussion started by: tnorth
0 Replies
3. Solaris
am wonder wich sun computer is better, a sun ultra or sun sparkstation, and what is the difference (7 Replies)
Discussion started by: nobody
7 Replies
4. Solaris
Hi Guys,
I have a 2nd hand Sun ultra-5, I wanted to know how to be able to run it as a normal window. I do not have any experience whatsoever with solaris/unix. Does anyone can give me a clue where to start. When I switch it goes to:
unix console login:
pa$$word:
#UNIX sendmail : enable to... (0 Replies)
Discussion started by: lingosa
0 Replies
5. Solaris
Hi friends,
Please tell me how to break the LOMlite password on SUN Netra X1 system.
Thanks
venkat (2 Replies)
Discussion started by: rvrao77
2 Replies
6. Solaris
Hi All,
I bought a sun workstation from ebay. Can I replace the cd-rom drive with a dvd-rom drive with any type? I mean, can I just buy a dvd-rom drive from a pc store?
Thanks,
itik (2 Replies)
Discussion started by: itik
2 Replies
7. Solaris
Hi All,
My company has three V120 servers and two V245 servers. Currently we access ALOM on v245 thru NET MGT port. There are no NET MGT on V120. We use to access A/LOM on the V120s thru Windows Hyper Terminal connected to the Serial A port of v120. Since all of our Windows boxed are... (6 Replies)
Discussion started by: glieu
6 Replies
8. Solaris
hi, my sun box hangs- KEYBOARD not found. Using hyper link it boots and then hangs without able to access or get ok promt
----SCREEN SHOT AS--------------------------------------------------
˙Loading onboard drivers: ebus i2c i2c i2c ppm
/ebus@1f,464000: flashprom rtc serial serial env-monitor... (2 Replies)
Discussion started by: mathav22
2 Replies
9. Hardware
Hi all,
I managed to salvage form work an old Sun Sparc Ultra 30. I have had it stored (controlled storage) for a few years and decided to get it home and boot it up.
It starts up with a beep then I can hear disks spinning up, CDROM moving but nothing is displayed on the monitor.
Can... (2 Replies)
Discussion started by: robbo007
2 Replies
10. Solaris
Hi
I have just acquired an Ultra 5. It has 256MB of memory and a 360Mhz Ultra IIi SPARC processor. So far, I have had some typical fun and games to get it working:
- It had a dead NVRAM chip. I hacked it open and installed a CR2032. It looks suitably bodged up, but is working. I set the MAC... (8 Replies)
Discussion started by: _JonB_
8 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)