Check out "expect" at http://expect.nist.gov/.

It is a Tcl based scripting language designed specifically for what you are
trying to do. 

John F. Baskette


> ----------
> From:         Gregory D. Burns[SMTP:[EMAIL PROTECTED]]
> Sent:         Friday, August 11, 2000 11:02 AM
> To:   [EMAIL PROTECTED]
> Subject:      telnet Shell Script
> 
> Hi,
> 
>     Does anyone know how I could make a script that telnet into a router
> did a some commands, log the results, and then moved to the next router.
> I'm trying to write a little shell script that will add a ip address to
> a access list in 5 different routers. If you have any suggestion please
> let me know.
> 
> Thanks, Greg
> 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to [EMAIL PROTECTED]
> Please read the FAQ at http://www.linux-learn.org/faqs
> 
This communication is confidential and may be legally privileged.  If you
are not the intended recipient, (i) please do not read or disclose to
others, (ii) please notify the sender by reply mail, and (iii) please delete
this communication from your system.  Failure to follow this process may be
unlawful.  Thank you for your cooperation.

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to