script - make typescript of terminal session
script [ -a ] [ file ]
Script makes a typescript of everything printed on your 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 lp. If no file
name is given, the typescript is saved in the file typescript.
The script ends when the forked shell exits.
This program is useful when using a crt and a hard-copy record of the
dialog is desired, as for a student handing in a program that was
developed on a crt when hard-copy terminals are in short supply.
Script places everything in the log file. This is not what the naive
PPPPaaaaggggeeee 1111 [ Back ]