Saturday, April 16, 2016

Asciinema - the best way to record and share a terminal session

Asciinema – the best way to record and share a terminal session
 

Many fans Linux are trying to attract to the use of free systems on the core Linux of their relatives and acquaintances. Once beginners start to learn a new system, they sometimes have technical questions, especially when working with the terminal. But they are not always close by and ask you questions by phone / Skype or email. And of course, the best answer is a clear example of the necessary commands in the terminal with the notes.

simplest and most effective way to explain their work in the terminal, and record send a screen capture video during a terminal session. To do this, there is a program SimpleScreenRecorder .

But while recording the program SimpleScreenRecorder can get quite voluminous video, which does not always turn out to send an e-mail. And even if you send the video, a novice might not be able to open it.

It is in this you will help to Asciinema .


Asciinema is a small program with open source software, you can install on your Linux system to capture what you are doing in the terminal. The session is automatically loaded on the website asciinema.org and your terminal displays the URL-link , where you can share the recorded session. After recording, you copy the link and send it to your friend / family member, and he can open it at any time to view the appropriate action.

But the main highlight of the program is that it gets you to a link and view on it video, at any time can stop the video clip, copy out the necessary commands and execute them in their terminal

. Installation Asciinema in Ubuntu and derivatives

Open a terminal, copy and run the following commands:

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

The use of Asciinema

After the program is installed, open a terminal write terminal session, enter and run the following command:

asciinema rec

After the command, you should see a warning as follows:

~ Asciicast recording started. (Record Asciicast began.)
~ Hit Ctrl-D or type “exit” to finish. (Press Ctrl-D , or enter and run exit , to finish the recording.)

And immediately start to carry out the necessary explaining the action in the same terminal.

At the end of the recording (pressing the Ctrl-D and enter and execute exit ,) reappears notice:

~ Asciicast recording finished . (Recording is finished)
~ Press & lt; Enter & gt; to upload, & lt; Ctrl-C & gt; to cancel. (Press & lt; Enter & gt; to download and obtain a reference or & lt; Ctrl-C & gt ;, to exit the session without saving.)

After displaying links to your video in the terminal, you can open it yourself, or copy and send a friend / relative

.


Example . Click my link to the video terminal session, which I recorded in a terminal window, which is the top picture:


That’s it.

Install Asciinema can be found on the website of the program in other Linux distributions (Fedora, Arch, etc.): https: / /asciinema.org/docs/installation

Homepage Asciinema

fun

.

LikeTweet

No comments:

Post a Comment