SCRIPT(1) — Unix Programmer’s Manual
NAME
script − make typescript of terminal session
SYNOPSIS
script [ option ] [ file ]
DESCRIPTION
Script makes a typescript of everything printed on the terminal. The typescript is written to file, or appended to file if the −a option is given. It can be sent to the line printer later with lpr. If no filename is given, the typescript is saved in the file “typescript.”
The script ends when the forked shell exits.
This program is useful for someone working on a CRT who desires a hardcopy record of the dialogue, such as a student handing in a program that was developed on a CRT when hardcopy terminals are in short supply.
OPTION
−a Append information to file.
BUGS
Script places everything in the log file. This is not what the naive user expects.
4th Berkeley Distribution — 1 August 1985