develooper Front page | perl.beginners | Postings from October 2008

Re: Help required in writing a script

Thread Previous | Thread Next
Philip Durbin
October 28, 2008 20:08
Re: Help required in writing a script
Message ID:
On Oct 23, 2008, at 11:22 AM, Philip Durbin wrote:

> monnappa appaiah wrote:
>>         i need  help on something i'm working on.............I have  
>> 127
>> systems connected in the network, i want to write a script which  
>> will run on
>> a management server, i shud be able to connect to each and every  
>> system (all
>> the systems have same password) and execute certain commands and  
>> the output
>> of those commands shud be put in a file........i'm new to perl, can  
>> somebody
>> help me as to how can i do this?
> You could use gsh:
> gsh myhosts '' > /tmp/output.txt
> Phil

Here's an example of using gsh:


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About