script

From RaySoft

script makes a typescript of everything printed on your terminal. It is useful for students who need a hardcopy record of an interactive session as proof of an assignment, as the typescript file can be printed out later.man 1 'script'

Documentation

Syntax

script [PARAMETER ...] [FILE]

Parameters

-a
Append the output to file or typescript, retaining the priorcontents.

References