How do I keep logs of all the work done via terminal? For example, I want a record of all the work done on database via terminal.
When you are ready to start recording a log file, type:
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:
Your screen.log file will be in your Home folder (