Just follow this simple steps:
- Open Linux Terminal
- To START recording type script
- To EXIT recording type exit
Automatically will be create a file in the local directory where the script was lunch initially called typescrpt, where are record all the terminal activity