Re: to run a rsh remote command

Henrik Carlqvist <[email protected]>
Newsgroups gmane.comp.gnu.utils
Organization SunSITE.dk - Supporting Open source
Message-ID <[email protected]>
parag <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.