Documented in Volume 1 of the UNIX Programmers Manual.
% script X
will fire up a script session and from this point on until you
enter a CTRL-D, everything echoed on your terminal including keyins
will be stored into file X in the current directory.
This command is useful when you want to capture a terminal session
(a "script") for demonstration or printing purposes.
To play back the script named X above, you could use
% cat X
To Index