Unix Help

The Script Utility

Introduction

The script command, available in unix, puts a copy of all characters printed to the screen into a file.

Start a new script file with a specific name (default name is typescript) with the command:

script 

Append to an existing script file named [filename] with the command:

script -a [filename]

Close an existing script file by terminating its shell process, for example with the command:

exit 

See more information in the manual pages:

man script

Note: Do not attempt "cat", "more", or similar commands on a script file before it has been closed.


Back to the home page

(c) N. E. Reed, 2002-2006