HELP! need to write script that telnets into a switch, router, etc checks status and gets out. how do I write a script that will telnet into a device and exit. any help is appreciated. thanks.
expect "<switch_prompt>"
send "<status_command>\r" EDC
--------------------------------------
This is Unix-Land. In quiet nights, you can hear the Windows machines
reboot.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.