Thanks unSpawn. I completely agree that chasing fragments of it after the fact would be pretty much useless! The reason I was asking about a file name/location in particular is that I was thinking of setting up some sort of script to copy the session data on the fly, straight from the temp file to a permanent (ie. recoverable) file as it appeared in the temporary location.
What's this 'screen' you mentioned? If possible (and practical), I'd like to set up something that runs automatically any time a shell window opens, and saves the data to a consistent location.
Originally Posted by unSpawn
If the process didn't get a chance on exit to write out history to $HISTFILE then parts of it may reside in Purgatory (memory, swap) but more likely in Bit Paradise. I doubt it's worth chasing, next time better run from inside 'screen' with history enabled or under a logging shell wrapper like 'rootsh'.