Ever wanted to record a log of an interactive console session? Easy, just use the script
utility. It’s probably already present on your system, no installation required.
To start recording, run script --timing=script.tim script.log
. This spawns a new shell, recording stops when you exit from it.
To replay the log, run scriptreplay script.tim script.log
. It is also possible to speed up or slow down the playback speed. For example, in order to play back ... [continue reading]