7 C
Texas
angeloma
Senior Writer and partner

Record your terminal session with TermRecord

The terminal is one of the most useful tools of all Linux. It is the main tool of the Sysadmins and many programmers in the system. However, sometimes it is convenient to have a record of our activities in the terminal. To do this, we have a tool created in Python that can record our terminal session. In this post, I will tell you about TermRecord and how to install it.

What is TermRecord?

TermRecord is an application written in Python that records our terminal session. One that finishes the recording exports it into a self-contained HTML output that is easy to share.

On the other hand, TermRecord can be installed on many Linux and MacOS distributions. It is open source released under the MIT license and this provides us with the security of auditing the source code. In addition, the application has some controls that allow you to better enjoy the recorded content.

The application is especially useful if we need to share our terminal session. Let’s think that in a technology department you need to contrast some information that is generated in the terminal. Moreover, it is ideal for learning tutorials in the field of education or training.

- Advertisement -

So, let us install it.

Record your terminal session with TermRecord

The application depends on Python, so if you use Linux it is very difficult not to install it. So we can install PIP to help us with the installation.

If you use Debian, Ubuntu, Linux Mint or derivatives, just write the following on a terminal:

:~$ sudo apt install python-pip

However, if you use CentOS or RHLE, you can install it with this command:

:~$ sudo yum install python-pip

In case you use OpenSUSE, run this command:

:~$ sudo zypper in python-pip

Next, install TermRecord using PIP.

:~$ sudo pip install TermRecord

1.- Install TermRecord to record the terminal session
1.- Install TermRecord to record the terminal session

And to start to record your terminal session, use the following command:

:~$ TermRecord -o session.html

When you want to finish recording, type exit and press enter.

Next, open the file using your browser.

TermRecord is a wonder because it detects the size of our terminal window. In addition to this, it has interactive buttons in playback such as pause, play and ability to speed up and slow down playback.

So, enjoy it.

Conclusion

Linux is a very flexible system. In this post, we talk about TermRecord and how it is possible to record the terminal session easily, quickly and without using heavy applications.

So, you can also read Get the Latest Python on Linux

Please share this post with your friends.

- Advertisement -
Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"

LEAVE A REPLY

Please enter your comment!
Please enter your name here



Latest article