I was running scripts overnight from the command line (inside Screen on a Linux EC2 instance) and some errors that I was not tracking occurred. I want to "scroll up" or view more of the history in Screen, but I cannot seem to find any commands that will work.
I need to see the onscreen output "further up" than I can on my current screen. CTRL + a is supposed to put me into scroll mode inside Screen, but it's not working.
history | less
,more
? Or you are asking how to keep more history?history
will keep only commands have been fired in shell. He is more asking about logging sort of stuff<Shift>
+<PgUp>
is the only option. And it has some limit as well (at most last 500 lines, I guess).Ctrl-a
isscreen
's escape. The whole key sequence to enter scrollback mode would beCtrl-a
[
, as opyate says.Ctrl-a
ESC
also works for me, I don't remember which one is standard / commonly used.