[ale] Expect?
Lightner, Jeff
jlightner at water.com
Wed Feb 9 14:43:32 EST 2011
Expect is a good tool if you're trying to automate things that interact
with other things but don't have automatic logins setup via ssh/scp.
I've used it for things like doing telnet to 10 fibre bridges we used to
have and going through their menus to do reboots. On those ssh wasn't
an option and their was no way to script anything on the bridge itself.
-----Original Message-----
From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of
Randy Ramsdell
Sent: Wednesday, February 09, 2011 2:27 PM
To: Atlanta Linux Enthusiasts
Subject: Re: [ale] Expect?
Robert L. Harris wrote:
>
> Anyone working with expect? I have a prog that needs to be killed and
> restarted based on stdout from the prog. I have the spawn and
detection
> working, just need the kill -9...
> --
> :wq!
> ======================================================
> Robert L. Harris | GPG Key ID: E344DA3B
>
I suppose, why expect?
_______________________________________________
Ale mailing list
Ale at ale.org
http://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
Proud partner. Susan G. Komen for the Cure.
Please consider our environment before printing this e-mail or attachments.
----------------------------------
CONFIDENTIALITY NOTICE: This e-mail may contain privileged or confidential information and is for the sole use of the intended recipient(s). If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Thank you.
----------------------------------
More information about the Ale
mailing list