Manual pages › General commands (1)
script(1)
make typescript of a terminal session
From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.
NAME
script - make typescript of a terminal session
SYNOPSIS
script [ -a ] [ filename ]
DESCRIPTION
script makes a typescript of everything printed on your terminal. The typescript is written to filename, or appended to filename if the -a option is given. If no file name is given, the typescript is saved in the file typescript.
The script ends when the forked shell exits or when ctrl-D is typed.
NOTES
script places everything that appears on the screen in the log file, including prompts.