When My computer crashes while using Terminal, I see this kind of screen when I reopen Terminal, showing me what was previously on the Terminal screen.
Where on my hard drive is that information (the one above the grey line which reads "Restored Jan 27, 2018 at 7:07:50 PM") stored for Terminal to show after the crash?