Dumping a Linux console scrollback buffer?
- by Gerald Combs
We would like to save the output of a program run on a Linux console which spans many lines. Unfortunately it wasn't logged or run under screen, or any other way that lets us easily capture the output. The best method we've been able to come up with so far is:
Log into the machine via a separate SSH session
In the console session, page to the top…