Linux Save Terminal Output to a File While Working

From PedrosBrainDump

You can use the command

script

To save all your terminal output to a file until you type exit.