I am using a Tcl script to change the poller password through spawning the telnet command.
I have done this with the script below, and tested it on a Windows machine after installing ActiveTcl8.5.13.0.296436-win32-ix86-threaded
spawn telnet $serNumber $pNumber
#flush stdout
expect ">"
send "Clients\r"
expect ">"
send "1\r"
expect ">"
send "Pollers\r"
expect ">"
Now I want to run same script in a Linux machine, but as I am new to Linux systems, can anybody help me that how to install tcl in linux system and get executed the same script there?
Any help is a great for me. Please provide any useful links.