When you need to document actions or output from actions from the terminal/console //script// is your friend.
Just type:
script
followed by your actions. When you've done what you need to do end the recording by typing:
exit
You now have the file called //typescript// in the directory you started out from containing all the output from the console.