Hello Sumit,
I dont know whether ur problem got solved or not? but i think i have a
solution for u.

I guess u have shell script on remote unix machine, which you want to
execute that script from your windows machine.
Perl has support for remote connections in NET module.
You can use either:
      Net::Telnet
      Net::SSH
and connect to the remote(unix) machine, provided that machine running
the respective services.
Once u connected to the remote machine, u get a handle and using that
handle we can pass commands to execute on remote machine.
say,
handle->cmd('sh remoteshell.sh')
This statement will enable us to run remoteshell.sh script on remote
machine.

You can use Expect script for executing interactive scripts, like the
same, if you dont want perl interface.

Regards,
uma..


--- In [email protected], "y2k_sonu" <[EMAIL PROTECTED]> wrote:
>
> Hi folks,
> 
> I have a Perl Script from which i want to run a shell script on  a
> UNIX machine on the network.
> What are the best ways to do this ?
> 
> Thanks
> Sumit
>


Reply via email to