Re: Executing remote command without using any modules

2012-01-18 Thread Rob Coops
On Wed, Jan 18, 2012 at 5:31 AM, charith wrote: > Hi All, > > I create following bash script to run some block of commands on remote > server > and get information but I try to do same using Perl but I couldn't > make it so any one can suggest way to get done this using perl ? (please > withou

Executing remote command without using any modules

2012-01-18 Thread charith
Hi All, I create following bash script to run some block of commands on remote server and get information but I try to do same using Perl but I couldn't make it so any one can suggest way to get done this using perl ? (please without using any modules) my .sh...

Re: Remote command

2008-08-19 Thread Mimi Cafe
Take a look at the CPAN module Net::SSH. Example use strict; use Net::SSH qw(ssh ssh_cmd); my @dirlist = remote_cmds("ls'"); mimi 2008/8/19 Irfan J Sayed (isayed) <[EMAIL PROTECTED]> > Hi All, > > Can somebody have the sample Perl script which will fire the "ls" > command on remote linux ma

Remote command

2008-08-19 Thread Irfan J Sayed (isayed)
Hi All, Can somebody have the sample Perl script which will fire the "ls" command on remote linux machine and give the exit status whether it is success or failure. OR can somebody please guide me step by step how to achieve this Please help. Regards Irf.

RE: Remote command execution on NT and Solaris?

2001-06-13 Thread ggage
-Original Message- From: Michael Dube [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 12, 2001 11:19 AM To: Perl Beginners List Subject: Remote command execution on NT and Solaris? I have just begun a project that will involve automated state setting on multiple machines across multiple

RE: Remote command execution on NT and Solaris?

2001-06-12 Thread Steve Howard
---Original Message- From: Michael Dube [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 12, 2001 11:19 AM To: Perl Beginners List Subject: Remote command execution on NT and Solaris? I have just begun a project that will involve automated state setting on multiple machines across multiple platf

Remote command execution on NT and Solaris?

2001-06-12 Thread Michael Dube
ruct each of the other systems to run their initialization script. Is there a PERL module available which will facilitate remote command execution for NT and Solaris? Any suggestions on the best way to do this? Thanks, Mike