Skip to main content
U.S. flag

An official website of the United States government

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

Ouch Those Programs are Painful



Don E. Libes


Expect is a program to control interactive applications. These applications interactively prompt and expect auser to enter keystrokes in response. By using Expect, you can write simple scripts to automate theseinteractions. And using automated interactive programs, you will be able to solve problems that you neverwould have even considered before. In this article Don Libes, the author of Expect, gives a quick overview ofsome of the things you can do.
Internet Power Tools by Valeria Quercic
Publisher Info


expect, interaction, programmed dialogue, shell, Tcl, UNIX


Libes, D. (1995), Ouch Those Programs are Painful, , , [online], (Accessed April 19, 2024)
Created October 1, 1995, Updated February 17, 2017