script

 


 
 
 
 User Commands                                           script(1)
 
 
 


NAME

script - make record of a terminal session

SYNOPSIS

script [ -a ] [ filename ]

DESCRIPTION

script makes a record of everything printed on your screen. The record is written to filename. If no file name is given, the record is saved in the file typescript. The script command forks and creates a sub-shell, according to the value of $SHELL, and records the text from this session. The script ends when the forked shell exits or when CTRL-D is typed.

OPTIONS

-a Append the session record to filename, rather than overwrite it.

NOTES

script places everything that appears on the screen in filename, including prompts.

ATTRIBUTES

See attributes(5) for descriptions of the following attri- butes: ____________________________________________________________ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | | Availability | SUNWcsu | | CSI | enabled | |_____________________________|_____________________________|

SEE ALSO

attributes(5) SunOS 5.8 Last change: 8 Feb 1994 1