script Command Purpose Makes a typescript of a terminal session. Syntax script [ -a ] [ File ] Description The script command makes a typescript of everything displayed on your terminal. The typescript is written to the file specified by the File parameter. The typescript can later be sent to the line printer. If no file name is given, the typescript is saved in the current directory with the file name typescript. The script ends when the forked shell exits. This command is useful for producing hardcopy records when hard- copy terminals are in short supply. For example, use the script command when you are working on a CRT display and need a hardcopy record of the dialog. Flags -a Appends the typescript to the specified file or to the typescript file. Implementation Specifics This command is part of Base Operating System (BOS) Runtime. Files /usr/bin/script Contains the script command. Related Information Input and Output Redirection Overview in AIX Version 3.2 System User's Guide: Base and Devices describes how the operating system processes input and output and how to use the redirect and pipe symbols. The tee command.