Skip to Content

Session Recording

Note: This page is quite old and is likely out of date. My opinions may have also changed dramatically since this was written. It is here as a reference until I get around to updating it.

Bash Builtins

The script utility which I’ve found in Fedora as a default package (or it’s a bash builtin). You can record a session and the timing data about it exit and then view it like an in console video.

Record a session with it’s timing data…

[[email protected] ~]$ script -t 2> example.timing -a example.session
Script started, file is example.session
[[email protected] ~]$ # DO STUFF
[[email protected] ~]$ exit
Script done, file is example.session

And replay it later:

[[email protected] ~]$ scriptreplay example.timing example.session