How to record Linux terminal session

How to record Linux terminal session

                  Here, I am going to demonstrate how to record  a terminal session on Linux.There are several online services (e.g., showterm.io or asciinema.org) which allow you to record and share your terminal sessions...