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
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..
|Thread Tools||Search this Thread|
|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|