Sometimes you want to log everything what happens in your terminal.
If you use konsole or gnome-terminal, you can change history or scroll settings, but you don't have output to a file.
There are a few simple tools for just doing that, but always with a bit difference:
Like tee. Explained here by my colleague raskas. This is nice, but you aren't able to do manual input.
Therefore you use script. You just create a log file of your terminal sessions, even typo's :) if you log a shell script where manual input is required.
Start logging with:
script [-a] [-c COMMAND] [-f] [-q] [-t] [file]
End logging with:
Read log file: