Section: User Commands (1)
Updated: June 2014
script makes a typescript of everything displayed 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 with lpr?(1).
Certain interactive commands, such as vi?(1), create garbage in the typescript file. script works best with commands that do not manipulate the screen, the results are meant to emulate a hardcopy terminal.
The following environment variable is utilized by script:
The script command is part of the util-linux package and is available from Linux Kernel Archive
Tutoriais de Tecnologia Web