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 ping I want it to log that to a log file and then quit. I already know how to telnet to the host, but not sure about the ping part and writing it to a log file. Could you please reply to this email with a little example script. Thanks.
Phusion _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
