Top "Expect" questions

Expect is a Unix/Linux extension for the Tcl scripting language.

Background spawned process in Expect

I'm using expect to start an application on my server: #!/usr/bin/expect set timeout -1 spawn "bin/start-all.sh" …

shell unix tcl background-process expect
Difference between \n and \r in expect?

In this particular script they use \n. #!/usr/bin/expect set password [lindex $argv 0] spawn asadmin enable-secure-admin expect "admin" send "…

linux bash expect
Expect Script - Starting logging from a certain point, and stop at a certain point

Hope you're all well! I've recently begun putting together a little utility for a few our of network engineers to …

expect cisco-ios
TCL expect regular expression

I am trying to write one script which climbs up from one system to another through TCL/Expect. It is …

regex tcl expect
Trouble logging in user using su and expect script

I am working on making a website for a class that you log into with a username and password, and …

bash expect sudo su
Ruby - Problems with Expect and Pty

I'm trying to write a Ruby script that will ssh over to a server, run a given command, and fetch …

ruby expect pty
How to use 'expect' to copy a public key to a host?

I am using the following syntax to copy a public key to a host, in order to be able to …

ssh tcl expect