Use script and scriptreplay command
What would you do if you want to share your typescript to others or when you try to remember what you have typed to generate this file?
One would say that
history | grep 'things' is a good choice.
Of course, it is only a
good choice until I find a great solution at
However, today I will introduce another command
script to record commands