Search Results

Search: Posts Made By: pbaets01
1,915
Posted By pbaets01
I found my problem. I found all the dead ip's...
I found my problem. I found all the dead ip's and included an if statement. For instance below if I knew 10.1.1.12 was a dead ip I would write:


foreach ip $argv {
for {set ip 1} {$ip <=120}...
1,915
Posted By pbaets01
Thanks I tried the timeout but still didnt work. ...
Thanks I tried the timeout but still didnt work. I may have to mess around with

expect {
-timeout 60
"password: {continue}
"$" {commands to go to next on in the list...
1,915
Posted By pbaets01
expect question
I am trying to write a script that telnets out to multiple ip's, runs some commands exits and the telnets to the next ip. I wrote the following script and it works great until the program hits a...
Showing results 1 to 3 of 3

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