Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
User Commandsscript(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 attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
AvailabilitySUNWcsu
CSIenabled

SEE ALSO

 

attributes(5)


SunOS 5.9Go To TopLast Changed 8 Feb 1994

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.