Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Executing KSH/SH from PERL in Windows

Status
Not open for further replies.

gdorrell

Technical User
Nov 6, 2008
1
US
I need to see how to execute a KSH/SH script that sits on a server running HP-UX (UNIX) from a PERL script that is executed on a Windows client (WindowsXP). I do have Samba running and can access the share on the HP-UX box, I am just not sure how to execute the KSH script remotely.

The reasoning behind doing this is because I am unable to have a file parse done in Windows in a reasonable amount of time (40 seconds in Windows compared with 5 seconds in UNIX). My PERL coding abilities are limtied compared to my KSH scripting abilities.

Any help would be greatly appreciated.
 
From windows you could run a perl script that makes a connection to the HP server and then execute ot remotely.

Have a look to Net::Telnet Module.

Cheers



dmazzini
GSM/UMTS System and Telecomm Consultant

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top