Comments on How to record your terminal session on Linux
Recording a terminal session may be important in helping someone learn a process, sharing information in an understandable way, and also presenting a series of commands in a proper manner. Whatever the purpose, there are many times when copy-pasting text from the terminal won't be very helpful while capturing a video of the process is quite far-fetched and may not be always possible. In this quick guide, we will take a look at the easiest way to record and share a terminal session in .gif format.
5 Comment(s)
Comments
Very useful!!!
Thanks!
"First, untar the downloaded “tty2gif.tar.bz2” by opening a terminal in the download location and entering the following command:" Where does the tty2gif.tar.bz2 file come from?
I was glad to find this. I do a Youtube channel that focuses around Linux/FOSS and I do desktop and server videos, where this comes in very handy. I was using ASIInema, but the standard practice to share the format it saves in is to upload it to their website, which to be honest seems like it could be nefarious. This does the same thing, but you provide a way to share via .gif which is much better.
Also, love to see you using Elementary OS, I've been using it on all my laptops since Freya and it's the most underrated distro IMO.
script and scriptreplay can record and playback a terminal session.
#### Record terminal session w/ timings$ script --timing $SCRIPT.time $SCRIPT.log
#### Replay session w/ timings$ scriptreplay --timing $SCRIPT.time $SCRIPT.log
No way built-in way to convert to GIF, but I suspect that isn't hard. tty2gif.py and convert can bprobably be used exactly the same as described above.
Just another option. Script has been around a very, very, long time.