My scrapbook about anything which I learned or want to remember, Sometime about tech tips, thoughts and rambling. If you find anything useful don't forget to give thumbs-up :)

Breaking

Wednesday, September 6, 2023

Let's Record the Shell Terminal

Though there are lot of tools available to record the terminal screen but I 💜 the asciinema the most. The Reason, It's SIMPLICITY.  It is easy to install, use, upload and share functionality make this tool unique in the groups. So let's roll and see how the magic is done 😆

Installation:

asciinema is available on multiple platforms as offered via pip (python), homebrew, debian, yum and docker environment. If binary is not available for you system, you can build it from scratch as well. 

Debian: sudo apt-get install asciinema

Homebrew ( Mac/Linux): brew install asciinema
 
RPM: sudo yum install asciinema # or sudo dnf install asciinema

PIP: sudo pip3 install asciinema

Docker: docker pull ghcr.io/asciinema/asciinema

Many more options are available here


Record:

Once install, you can record the screen/terminal via below command : 

asciinema rec [filename.cast]

This spawns a new shell instance and records all terminal output. When you're ready to finish simply exit the shell either by typing exit or hitting <ctrl-D>

Upload:

You can upload the recording to asciinema.org to do that you have to login on the account which can be done via below command -  

asciinema auth


Now, to share the recording with others or websites are pretty easy as mentioned here



 ==


Like the below page to get the update  
Facebook Page      Facebook Group      Twitter Feed      Telegram Group







No comments:

Post a Comment

Disclaimer

The postings on this site are my own and don't necessarily represent IBM's or other companies positions, strategies or opinions. All content provided on this blog is for informational purposes and knowledge sharing only.
The owner of this blog makes no representations as to the accuracy or completeness of any information on this site or found by following any link on this site. The owner will not be liable for any errors or omissions in this information nor for the availability of this information. The owner will not be liable for any losses, injuries, or damages from the display or use of his information.