How to recover bash output of an already closed window?
Solution 1:
No, there isn't STDOUT history on the filesystem.
If you don't have logging enabled for your terminal then you are out of luck.
Solution 2:
If you work with a script log then it records everything in that .....
Next time run this at your home directory: script -a yoursession.log
That would record all the commands and what ever output you get while you work into the log file.
Man page script command description:
Script makes a typescript of everything printed on your terminal. It is useful for students who need a hardcopy record of an interactive session as proof of an assignment, as the typescript file can be printed out later with lpr(1).