The purpose is
I want to keep all the console history (commands typed and results)
I use aterm and tried to do some stupid stuff like
aterm > aterm.log
or
aterm | tee aterm.log
I looked into the aterm manual, but find nothing.
Each time I launch aterm, I want to keep all I typed and the result (all you can see in the aterm history lines, not only the commands history) in a log file.
As soon as I can do that, I will use it wisely by naming the log files with the date and time, and put in the cron a command to clean the logs that are too old.
I searched with google, but with words like console, history, keep, log, I find plenty of garbage but not what I am looking for
Thank you for your precious help

