[CentOS] good shell script examples?

Gabriel Tabares gabriel.tabares at roboreus.com
Tue Nov 16 09:14:28 UTC 2010


On 15/11/2010 18:47, Kill Script wrote:
> I am looking for a beginner guide to shell scripting simple tasks on
> CentOS (e.g. ssh'ing into a server / router / switch, checking for
> certain things, then exiting and going to the next IP).

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.




More information about the CentOS mailing list