RECORD & SHARE LINUX YOUR TERMINAL SESSION EASILY USING ASCIINEMA

Record-share-terminal-session

Sometimes, when as Linux enthusiasts we convince our friends and family to convert to Linux they actually do, and then turn to us for tech support. The easiest way to teach them is to send them your screen’s video captures showing how you performed the tasks.

It becomes a challenge when you don’t use an easy-enough-to-use screen recorder to record your Linux session, and then even after you manage to send the huge file over, there is a chance the other user will receive data that is prone to errors, especially after having to manually type the commands. Our guess is you use SimpleScreenRecorder.

We have a better solution, it’s called asciinema.

Asciinema is one good program that is small and open source, and with it, you can capture your system’s terminal sessions as long as you have it installed. The session after being recorded is then loaded automatically to asciinema’s website and you are provided with a URL with which you can share your recorded session. This way your friends can easily access it at any time.

The awesome part is the fact that viewers can easily pause the video, highlight the commands and copy and paste them into their own terminal

Check out the video below for an example showing what asciinema can do:

Installing And Using ASCIINEMA

If you use Ubuntu, enter the following commands into your terminal to install asciinema:

sudo apt-add-repository ppa:zanchey/asciinema
sudo apt-get update
sudo apt-get install asciinema

If you use an Arch-based system, enter these commands:

yaourt -S asciinema

If you use other system types check here to find install instructions.

Do you have asciinema installed now? Good. Enter :

asciinema rec

to begin recording and when you’re done, enter:

exit 

or

Ctrl-D

As soon as you are done recording, asciinema will provide you with a link so you can view your video right away.

You can assign your video to your asciinema profile by entering:

asciinema auth

We hope this guide was helpful to you. Do you know about ay other such tool? Let us know in the comments section below.

About The Author
Okoi Martins Jr.
I'm a Computer Scientist with a passion for learning new things in fields ranging from theoretical implications of computer science and mathematical modeling to web development and music. In my spare time, I listen to music, read like a compiler, and learn like an A.I algorithm.

Leave a Response