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 only remember reading the start. A man awakes to find he is alone wherever he is (the world?). He goes searching and finds a computer terminal which boots up like it has been a very long time, starts searches and diagnostics and history and I think starts explaining what has happened to the world. Lots of code-like text in the book I think from the terminal.

I have an impression that maybe its ruins, or its snowy, that could be bad remembering.

Thanks if you can remember this one!