Wednesday, November 19, 2014

How log all input and output in a terminal session?

When you are ready to start recording a log file, type:
script screen.log
Now, until you stop the script, all input and output in the Terminal will be stored in screen.log. When you are done, just type:
exit
Your screen.log file will be in your Home folder (/home/user). This will do exactly what you are looking for.

No comments:

Post a Comment