in reply to How to Run a shell script which is on a remote server using a Perl script
Why use Perl?
What in your problem space requires Perl?$ for S in `cat file_of_target_addrs` > do > ssh $S '/path/to/command/to/that.sh' > done $ (assuming your shell supports for loops, sub with local syntax as need +ed)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to Run a shell script which is on a remote server using a Perl script
by cdarke (Prior) on May 07, 2009 at 14:26 UTC |