Learning Objectives
Topics covered
In Linux and OSX it is possible to easly record and replay a terminal session. There are several programs that can do this. A good overview article about it is given at
From these programs we have tried
$ brew install ttyrec
$ pip install TermRecord
To use it simply invoke
$ TermRecord -o recording.html
To replay open the html page in a browser. Befor eyou publish it for example in the docs folder in a github repository, please make sure you have not exposed any information that allows others to compromise your system.
In case you use chrome you can replay it also from the commandline with
$ google-chrome /tmp/test.html
On macOS you can use the screen capture command use
OSX SHIT-COMMAND - 4 Screen capture
or say on the commandline
$ screencapture a.gif
In general it is a bad practice to use screenshots whne filing bugs. The reason is that they can not easily parsed or content can be copied to replicate the bug. Thus avoid using screenshots when using for example github issues if you can.