Search Results

Search: Posts Made By: imatinkerer
12,190
Posted By Chubler_XL
Try this: #!/usr/bin/expect -f set ip...
Try this:

#!/usr/bin/expect -f
set ip "10.199.10."
set arg1 [lindex $argv 0]
append ip $arg1

#
# telnet to E5@ ip=arg1
spawn telnet $ip
set timeout 5
#login
expect "login:" { send...
Showing results 1 to 1 of 1

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