Search Results

Search: Posts Made By: Hossam_Nox
2,721
Posted By Hossam_Nox
Hey...
Did anyone find the cause of the problem?...
2,721
Posted By Hossam_Nox
Expect: Block of lines should be executed only if access succeeds
Hello
I'm using expect to create a script. I want some lines to be executed only if the telnet succeeds to the target host. Kindly check the code that i created. The problem i'm facing that...
3,815
Posted By Hossam_Nox
Thanks alot...but let me tell you more details...
Thanks alot...but let me tell you more details about the peoblem i'm facing.
I'm using the below code

spawn ssh mxadmin@$ip
expect {
"yes/no" {send "yes\r"}
Connection timed out {break}
eof...
3,815
Posted By Hossam_Nox
Need Help with expect when ssh fails
I'm trying to write a script using expect. I'd like the script to execute several commands when the ssh succeeds and i want it to exit if the ssh fails. Does this require to define a time out for the...
2,618
Posted By Hossam_Nox
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...
3,745
Posted By Hossam_Nox
Urgent..Help please....expect programs under while loop
Hello....

I'm developing a script; the first step is to create a file (its name is IP) which contains several lines. The second step is to create and execute expect programs using the data in the...
7,276
Posted By Hossam_Nox
expect file under while loop
Hello....

I'm developing a script; the first step is to create a file (its name is IP) which contains several lines. The second step is to create and execute expect programs using the data in the...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 06:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy