6 of 7 edited title

Book: One person left alive, uses computer terminal to discover the why, lots of code in the text

I vaguely remember this book from about 20 years ago, it may have been a short story, but I think it was a book.

I don't remember much about it. I'm fairly certain that a man awakens or emerges and finds there is nobody left. I have an impression of snow but that's not definite. He is searching and pretty sure he finds this computer terminal which boots up like it has been a very long time, starts searches and diagnostics and history. Lots of code-like text in the book from the terminal which is why I put it down initially.

I'd appreciate any help!