Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
I am new to expect and I was using logic to automate disconnecting telnet session where the user is logged in and leave other lines as it is:for {set i 0} {$i ==4} {incr i} {
send "clear line vty $i\r"
"confirm]" {send "\r"}
"% Not allowed" {se...