Objectives
After completing this tutorial, you will be able to:
- Understand the purpose of using Expect
- Know how a few companies uses Expect
- To use Expect to do simple automations.
Before starting this tutorial, you should:
- have an account on the HP machines of the Cobra cluster
- familiarize yourself with the HP-UX environment
- know your fundamental UNIX commands (cd, chmod, ln, mkdir, etc.)
- know how to use a text editor (vi, emacs, etc.) available on the HP
machines of the Cobra cluster
- Read the Conceptual Overview frame of this tutorial page
- Make a soft link from your home directory (on the HP machine) to a binary
file, expect
, in my home directory (on the HP machine)
For example:
ln -s ~dtly/usr/local/src/expect-5.19/expect expect