6
2
I have run a specific program in a bash terminal and I closed it by mistake before reading its output. Is it possible to recover the information that was sent to the stdout by taking a look at some sort of bash stdout history log?
Thank you so much.
Depending on the configuration of the program you are using, there may be a log with the output. – fedorqui – 2013-05-21T14:33:23.217
It's a program that I wrote myself, so I know that I'm not logging anything. (Unless Python generates an automatic log... does that exist at all?) – None – 2013-05-21T14:35:34.493
Well I refer to the terminal you are using. For example, PuTTY normally saves logs. – fedorqui – 2013-05-21T14:39:04.823
This would be a feature of the terminal-emulator (e.g. xterm, gnome-terminal, etc.) because the shell quite literally has no idea what the program sent to stdout. I've not known a common terminal program that logs by default, so you're probably out of luck. – msw – 2013-05-21T14:39:58.117
Thank you so much for your answers. I am using Terminal.app of OSX. Unfortunately, I haven't found any feature like that... – None – 2013-05-21T14:43:12.070