Asciinema is a great tool to record and playback your terminal sessions to make note of your commands or share with your team. You can use it for local playback or upload it to Ascinema to share with others. Here are the steps to install, record, and playback your terminal sessions
sudo apt update
sudo apt install asciinema
Once installed you can run asciinema with no arguments to see a list of commands available
Record a terminal session
To record a session locally use the following commands asciinema rec “name_of_file_here”
asciinema rec hello_world_record
To stop the recording press CRTL+D or type exit
Playback your session
To playback recording locally just use the play command
asciinema play "name_of_file_here"
Record and upload to Asciinema
If you would like to record your terminal session to share, you can do so on Asciinema once you have created an account.
Once you have an account created, use the following commands to link your recording session to Asciinema.
Copy and paste the link generated into your browser so you can start uploading your session.
To upload your terminal session just use asciinema rec to start recording
Press CRTL+D to stop recording then type exit to upload. Once you have exited, your link should be generated to playback and share. Here is a link to a session I recorded below:
Article is closed for comments.