[Solved] How to record your Linux Terminal and generate animated GIFs using Terminalizer
Introduction: What is Terminalizer & Why You Should Use it for Recording Your Linux Terminal
Terminalizer is a free, open-source tool that allows you to record your Linux terminal sessions and share them with others. It is a great way to quickly show someone how to do something in the terminal, or even just for sharing what you are working on with others. With Terminalizer, you can easily create beautiful recordings of your terminal sessions that can be shared with others. You can also use it to save time by replaying long and complex commands without having to type them out again. Terminalizer makes it easy for anyone to record their terminal session and share it with the world!
1) Download and install Node.js as well as npm
2) Use npm to install terminalizer
3) Record and playback a terminal session
4) Generate a recording file as an animated gif image
5) Share a recorded terminal session.
Step 1: Download and install Node.js as well as npm
Step 2: Use NPM to install terminalizer
Step 3: Record and playback a terminal session.
To start a screen recording of your command line interface, run the terminalizer command shown below. You can give the recording any name that you would like:
You will get the output:
“The recording session has started.
Press Ctrl + D to exit and save the recording.”
You can now start to type in the commands that you would like to record. Once you are finished recording press CONTROL + D on your keyboard to save the recording as a yml file.
To play back a screen recording on your command line interface, run the following command:
Step 4: Generate a recording file as an animated gif image
Step 5: Share a recorded terminal session
Terminalizer also has a built in feature that makes it possible to share a recording to the Terminalizer Explore Page.
Go to https://terminalizer.com/explore and sign up for a user account. Return to your command line interface and run the command below:
Terminalizer will prompt you to enter some information about the recording that you are sharing such as the title and the description for the recording. If this is the first time that your are sharing a recording, Terminalizer will need to link your terminalizer account. Copy the link displayed in your command line interface into a browser, and click Press any key to continue to allow terminalizer to upload your recording. Once the upload is complete, terminalizer will share a link for you to view your recording.
Please ensure that you keep your terminalizer token private. Also note that terminalizer recordings are publicly shared by default. Ensure that you do not expose any private information such as credentials and personally identifiable information.