I inherited a legacy Perl script from an old server which is being removed.The script needs to be implemented on a new server.I\'ve got it on the new server.
I have a Expect proc that sends co开发者_JAVA百科mmand for telnet login and send commands. Inside the telnet proc I do a TFTP . The size of the file is 10MB.
I wanted to embed gcc and gcov command as part of expect script.. I tried as.. #!/usr/bin/expect -f send \":gcc -fprofile-arcs -ftest-coverage c.c\\r\"
I\'ve been trying t开发者_运维知识库o automate some configuration backups on my cisco devices, i\'ve already managed to do the script that accomplishes the task but I\'m trying to improve it to handle
Seems like this should be obvious, but how do I send arrow key presses to a process using Expect.pm?Does it depend on the terminal type I am using (vt100) or do I s开发者_开发技巧end keyboard scancode
I am trying to create a automated ftp log in script in Expect/TCL. This is my script spawn ftp 100.100.100.1