Consultor Eletrônico



Kbase P109482: How to create a UNIX script file.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   02/07/2009
Status: Verified

GOAL:

How to create a UNIX script file.

GOAL:

How to capture interaction between the UNIX O/S and the user.

GOAL:

How to capture std out to a file in UNIX.

GOAL:

How to capture screen information to a file within UNIX.

FACT(s) (Environment):

UNIX

FIX:

Script is typically a screen capture of commands being executed in the UNIX operating environment. Creating a script file captures the interaction between the UNIX operating system and the user.
To create a script file, perform the following:

1. At the command line type script. Message on the terminal reads: script started, file is typescript.

2. Execute the command sequence(s).

3. When finished at the command line type exit. Message on the terminal reads: Script done, file is typescript.

4. A file named typescript will reside in working directory.