Many of you Linux fans work hard to convince your friends and family to switch to Linux. The downside is that once they do, they turn to you to be their tech support. The easiest way to teach them would be to send them a video capture of your screen while you perform the task in the terminal.

The problem is that you use a traditional tool like SimpleScreenRecorder to record Linux session, you will have to find a way to send the big video file to another computer. If you somehow managed to send the video file, the other user will have to manually type the commands and it is prone to errors that could eventually turn catastrophic.

This is where, asciinema can help.

asciinema is a small open source program you can install on your system to capture what you do in the terminal. The session is automatically loaded to asciinema website and you are provided a URL to share the recorded session. This way you share the URL with your friend and he can access it at any time.

Best part is that instead of attempting to transcribe the commands from the video you created, viewers can simply pause the video, highlight the command and copy and past it into their own terminal.

To give you an example of what asciinema can do here is a video by asciinema that explains how to use it:

Install and use asciinema to record Linux terminal session

If you have Ubuntu, use the following commands to install asciinema:

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

If you have an Arch based system, use the following commands to install asciinema:

yaourt -S asciinema

For all other systems, you can find install instructions here.

Now that you have asciinema installed, all you need to do is enter:

asciinema rec

and you will be recording. When you are done, just type:

exit

or

Ctrl-D

Once you are done recording, asciinema will give you a link to your video so you can view it right away.

If you want your video to be assigned to your asciinema profile run the following command:

asciinema auth

Is this helpful for you? Have you ever used this tool or something similar before?