12-03-2007
Quote:
Originally Posted by
russian460
ok first of all i should not have monitor or keyboard plugged in jsut what u said ?
Yes.
Quote:
Originally Posted by
russian460
than what is a null modem?
try the serial cable first, then if you are getting nothing after a few attempts, add a null modem in the chain, this swaps the RS232 TX and RX wires over.
PC -- COM1 ------ RS232 CABLE -- SERIAL A -- ULTRA5
PC -- COM1 ---- NULL MODEM ---- RS232 CABLE -- SERIAL A -- ULTRA5
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 Desktop Questions & Answers
I wouldn't call myself exactly new to Unix. I've played with Linux before so I can get around alright. I just have never really learned the basics, like setting a user's path. How do I do that on my Sun station? Obvioulsly, I've got several different bins, but I can only use the commands in... (1 Reply)
Discussion started by: skinnell2
1 Replies
3. 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
4. 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
5. 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
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,
it seem hard to see on a regular monitor the ultra 10 converter to rgb so that it can go to a pc monitor.
do u know how can i fix the monitor properly? it's not easy to see on the monitor there's so many lines.
thanks in advance. (2 Replies)
Discussion started by: itik
2 Replies
8. Solaris
Hi experts
is it possible to install lom on sun ultra 10 box?
can you guys help me in undertanding lom as i tried goggling , couldn't get good stuff.
Please :) (6 Replies)
Discussion started by: kumarmani
6 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)