SCRIPT(1) BSD SCRIPT(1)
NAME
script - make typescript of terminal session
SYNOPSIS
script [ -a ] [ file ]
DESCRIPTION
The script command forks a new shell and makes a typescript of everything
printed on your terminal (or a pad on a node). The typescript is written
to (or appended to) file; if no file is specified, the typescript is
saved in the file typescript. It can be sent to the line printer later
with lpr. The script ends when the forked shell exits.
This program is useful when you're using a crt and wish to have a hard-
copy record of the dialog.
OPTIONS
-a Append to file. If file isn't specified, append to filename
typescript in the current directory.
file Write (or append) to file instead of filename typescript in the
current directory.
NOTES
The script command places everything in the log file. This is not what
the naive user expects.