in reply to How do I execute a list of Unix commands from inside a perl program

IMHO with the information provided, it would be best to have the script on one server parse out the commands then do a form of remote command via ssh or kerberized (encrypted) rsh.
open(CMDS, "file_of_commands"); while (<CMDS>) { chomp; # ssh -l username machine "$_"; }
  • Comment on Re: How do I execute a list of Unix commands from inside a perl program
  • Download Code