Name
script
Synopsis
script [option] [file]
Forks the current shell and makes a typescript of a terminal session.
The typescript is written to file. If no
file is given, the typescript is saved in the
file typescript. The script ends when the forked
shell exits, usually with Control-D or exit
.
Option
-
-a
Append to file or typescript instead of overwriting the previous contents.
Get Mac OS X in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.