Unix/Linux Go Back    

Shell Programming and Scripting BSD, Linux, and UNIX shell scripting — Post awk, bash, csh, ksh, perl, php, python, sed, sh, shell scripts, and other shell scripting languages questions here.

Help needed with expect...(If telnet fails)

Shell Programming and Scripting

Thread Tools Search this Thread Display Modes
Old Unix and Linux 03-22-2010
Hossam_Nox Hossam_Nox is offline
Registered User
Join Date: Mar 2010
Last Activity: 2 June 2010, 6:06 AM EDT
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Help needed with expect...(If telnet fails)

I'm working using expect to automate telnet commands...i want to check if telnet fails and in this case...certain message should appear or certain word should be out in a file).

Thses are the messages that apeear if telnet fails:

telnet: Unable to connect to remote host: No route to host

Any suggestions??

edit by bakunin: my suggestion is to leave out "urgent" from the thread titles, as zaxxon already told you (see here). We are volunteers, neither the help desk nor your serfs. If you need someone knowledgeable to do the work for you then, by all means, hire someone. To get an answer from us you should reconsider your attitude.

Last edited by bakunin; 03-22-2010 at 08:46 PM..
Sponsored Links

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
telnet commands using expect pistachio Shell Programming and Scripting 1 12-15-2009 04:01 PM
Telnet Expect script question stinkefisch Shell Programming and Scripting 2 08-06-2009 04:03 AM
expect telnet unexpected delays kp2a Infrastructure Monitoring 2 05-12-2009 11:22 PM
Need 'expect' help, ssh/telnet and trapping ippy98 Shell Programming and Scripting 0 03-03-2009 07:42 AM
Webpage to Telnet via Perl and Expect: Telnet problem? jondo Shell Programming and Scripting 1 07-22-2008 12:35 AM

All times are GMT -4. The time now is 11:09 AM.