Coolest way is to use the package recordmydesktop and upload the video to YouTube or something!
Since my desktop is quite large, you might instead record a window:
recordmydesktop --follow-mouse -width 256 -height 256
Want to show someone your work? Try
script. It annoyingly has all your errors
and frantic backspaces, however I at least find it beneficial.
and ctrl-d or exit stops it recording.
History is another command I run very often, try it.
You can also hardcopy and log sessions with