[CentOS] good shell script examples?

Kill Script killscript at gmail.com
Tue Nov 16 05:32:23 EST 2010


Gabriel Tabares wrote:
> If you don't want to use ssh keys, you will have to write scripts that
> interact with prompts, so you'll probably be looking at Expect, Python
> (pexpect or paramiko) or Perl.

In one case, this is what I have to do for some networking hardware.  I 
have to ssh in, run a command, and then analyze the output.  I'm not 
quite sure how to do this given Perl / Python / Expect / etc and am 
hoping to find some good examples online that can help me get started.


More information about the CentOS mailing list