RPN01 wrote:
Why not the following (done from the command line here quite often):

for I in linux01 linux02 linux3 linux4 ; do ssh $I 'ls /root' ; done

If you have a lot of penguins swimming around, put the names in a file, one
per line and do it this way:

for I in `cat penguins.list` ; do ssh $I 'ls /root' ; done


Ticks are nasty critters; we have a campaign to stamp them out. Here's
how to eliminate those nasty back ticks:
fir I in $(cat penguins.list) ; do ssh $I 'ls /root' ; done

Using $() becomes _so_ much better when one starts nesting them:

$(
  $(
    $(
     )
   )
 )

I think I'd lose my mind figuring two levels of nesting back-ticks. Let
alone figuring what Reverse meant when he did it!

Oh, Robert!




--

Cheers
John

-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]

Please do not reply off-list

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to