Re: Help with Expect Script

2005-05-15 Thread Mike Jeays
On Sun, 2005-05-15 at 14:09, Phusion wrote: > I'm new to writing expect scripts and need some help. The script will > telnet to a host and run some commands. I want the script to ping the > host to see if it's alive first before it telnets into it. Also, I > know the host is pingable meaning it res

Help with Expect Script

2005-05-15 Thread Phusion
I'm new to writing expect scripts and need some help. The script will telnet to a host and run some commands. I want the script to ping the host to see if it's alive first before it telnets into it. Also, I know the host is pingable meaning it responds to pings. If the host doesn't respond to a pin