Other Mechanisms: Expect, Perl, and More

Are you ready to move beyond the constraints of the UNIX shell? Several alternative technologies are free, easy to install, easy to learn, and more powerful—that is, with richer capabilities and more structured syntax—than the shell. A few examples will suggest what they have to offer.

Expect

Expect, by Don Libes, is scripting language that works with many different programs, and can be used as a powerful software tool for automation. Why? Expect automates interactions, particularly those involving terminal control and time delays, that no other tool has attempted. Many command-line applications have the reputation for being unscriptable because they involve password entry and refuse to accept redirection ...

Get Red Hat® Linux® 7 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.