[Go to CFHT Home Page] Man Pages
Back to Software Index  BORDER=0Manpage Top Level
    script(1) manual page Table of Contents

Name

script - make record of a terminal session

Synopsis

script [ -a ] [ filename ]

Availability

SUNWcsu

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.


Table of Contents