Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. numele

    Using Expect with a list of commands

    I got it working pretty good now. I put a unique string at the end of my cmds variable and changed the timeout to 240 right before when the commands are sent. expect << EOF set timeout 60 set var "exit " log_user 0 spawn telnet ${router} expect "login: " send "testusername\r" expect...
  2. numele

    Using Expect with a list of commands

    I am having issues with an expect script used in a bash script. How it functions is my bash script receives form post data with a list of commands and a list of routers to process the commands on and the lists are sent to variables. The expect script telnets to each router on the list and pushes...

Part and Inventory Search

Back
Top