I have written below script . #! /usr/bin/expect set timeout 180 spawn /vobs/iov/rnc/bin/moshell/moshell -d db.dat
*Please do not pile on and tell me to just use 开发者_StackOverflowSSH keys.If it bugs you that this is the way I am doing it, pretend that I am trying to telnet in instead.:-) *
I am struggling with the classic problem of typing password automatically in ssh, and like everybody else I am stumbling in the dark regarding expect. Finally I cobbled together a script that kinda w
I am a newbie to perl. I am using perl expect module to spawn to a remote system. Execute a set of commands there one after another using the send module(like $exp->send(\"my command as string goes he
Now here\'s something interesting. When I have more than one thread in Tcl invoking package require Expect, I get a seg fault.
I\'m using 20 identical simulators (text base GUI like vi, refreshed quickly), and I need to control them in very similar way. e.g. input some command string to start/stop/config the simulator. The di
Can get the command history by using cursor key (like up arrow key)开发者_高级运维 in TCL shell (tclsh).
My Expect script shows password/user in clear text and I want to hide it. #!/usr/local/bin/expect ##################################################################################开发者_运维技巧####
I\'m running 32-bit Windows XP and trying to have Matlab communicate with Cgate, a command line program.I\'d like to make this happen using wexpect, which is a port of Python\'s module pexpect to Wind
I want to run wexpect (the windows port of pexpect) on my Windows 7 64-bit machine. I am getting the following error: