Help needed with expect...(If telnet fails) | Unix Linux Forums | Shell Programming and Scripting

  Go Back    


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

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

Shell Programming and Scripting


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 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)

Hello
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:

Trying 172.16.3.115...
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
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 01:55 AM.