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

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

Re: to run a rsh remote command


From: Henrik Carlqvist
Subject: Re: to run a rsh remote command
Date: Fri, 13 Jun 2008 21:28:19 +0200
User-agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.)

parag <parag_paul@hotmail.com> wrote:

> 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

Simple solution:

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

regards Henrik
-- 
The address in the header is only to prevent spam. My real address is:
hc3(at)poolhem.se Examples of addresses which go to spammers:
root@localhost postmaster@localhost



reply via email to

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