Skip to main content
U.S. flag

An official website of the United States government

Expect

* Download Expect source from SourceForge(link is external)

* Download Expect binaries from ActiveState(link is external)* Expect Homepage(link is external)

Expect is a tool for automating interactive applications such as telnet, ftp, passwd, fsck, rlogin, tip, etc. Expect really makes this stuff trivial. Expect is also useful for testing these same applications. And by adding Tk, you can wrap interactive applications in X11 GUIs.

Expect can make easy all sorts of tasks that are prohibitively difficult with anything else. You will find that Expect is an absolutely invaluable tool - using it, you will be able to automate tasks that you've never even thought of before - and you'll be able to do this automation quickly and easily.

 

Notable Publications
 

Created April 22, 2010, Updated June 2, 2021