help-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

to run a rsh remote command


From: parag
Subject: to run a rsh remote command
Date: Fri, 13 Jun 2008 01:16:31 -0700 (PDT)
User-agent: G2/1.0

hi all
I am trying to get a list of machines and send them commands to run ,
but I dont want them to bje done one after the other < i want them to
run them in parallel from a script >

What I am doing is

foreach i (`cat q`)
rsh $i -n <some command >
end

Now I want the job to be taken by the machine 1 and we should not wait
for the machine to finish and return for us to iterate


reply via email to

[Prev in Thread] Current Thread [Next in Thread]