On Fri, 2005-11-25 at 19:44 +0100, Antoine wrote:
> Hi,
> I would like to write a script to log in to a network machine and run 
> halt (for the missus, who doesn't really like logging in via ssh just to 
> turn of the internet connection...), and saw that autoexpect looks like 
> it would fit the bill. It doesn't seem to be in portage and it seems a 
> lot more difficult with expect...
> Any ideas?
> Cheers
> Antoine

Hi,

I haven't used autoexpect but have Expect.
Here is a link that you may have seen but will do what you would
"expect"...pardon the pun.

Perl with Expect module or Just Expect on its own.

http://www.infocopter.com/perl_corner/expect.htm

Hope this helps,

Rob

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to