There is an easy and fun way to record your Terminal session on Linux. All you need is asciinema, as speciap program that will record your Terminal session and then upload it to the internet. As a result, you can then embed the video to your blogs, facebook, Google Plus etc.
See asciinema in action below:
How to install asciinema on Ubuntu (supports Ubuntu 16.04)
sudo apt-get install asciinema
How to use it
Type the command below before executing your Terminal command
To stop it, simply type exit or use CTRL+D button combination. You will be asked to upload the result. If yes, you can then share the result with your audience.