TermRecord is a special tool that was written in Python. It is very simple and open source tool, which allows you to save all terminal sessions in an easy-to-use, stand-alone HTML file. Before installation, you should to update the package list and upgrade all of your system software to the latest version available:
sudo apt-get update && sudo apt-get -y upgrade
Install Pip
First you need to install Pip. This can be done by following the command below:
sudo apt-get install python-pip
After the installation has been successfuly completed, you can verify this by yourself by following this command
pip -V
The output’ll look lite this:
# pip -V
pip 8.1.1 from /usr/lib/python2.7/dist-packages (python 2.7)
Install TermRecord
You can install TermRecord by using Python Package Manager (Pip):
sudo pip install TermRecord
Application
Capturing a video of the terminal using TermRedord is quite simple, just run the following command:
TermRecord -o record.html
It is important to note the following:
Specify the output file to which the video will be written using the -o parameter. html format is the default format.
Immediately after executing this command, we will receive a message that the recording script has started and a temporary recording file has been created. From now on, everything that you enter into the terminal will be recorded and visible on the video. When the demo is over and you want to finish watching the video, just enter exit and press ENTER
In order to get acquainted with other TermRecord commands, you can enter the following into the terminal:
TermRecord --help
Leave A Comment?