How Can I Record a Log of a Terminal Session?
You can record a log of everything printed to a terminal session by using
the "script" command. The usage is as follows:
% script logfile
This will output everything printed to the shell to the file "logfile"
(You can name "logfile" whatever you want). This will overwrite the file
each time it is run. To simply append the log to the end of this file,
use the "-a" flag as shown here:
% script -a logfile
For more information on this command, type "man script" at
the Eniac command prompt.
Note: For information on logging into Eniac, please
see "How
Do I Log Into Eniac?"
|