Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

9
  • 3
    set scrollback limit by typing Ctrl+A, :, type "scrollback 10000" or whatever numeric value you want Commented Nov 10, 2016 at 22:20
  • 8
    Using this, the typical shortkeys of Linux terminals (shift+pg up/down home/end) also work, thanks. Commented Nov 22, 2016 at 10:02
  • 24
    This tip alone makes me reconsider using screen... Commented Aug 18, 2017 at 10:56
  • 20
    only gives you the output screen gave you since you started it - ie, reattaching elsewhere means you can't scroll up and see what happened prior. but you can still retrieve earlier output using the solution in the accepted answer - then you can use your mouse wheel again. Commented Nov 2, 2017 at 4:08
  • 4
    Disclaimer: The reason we don't do this all the time is that: this will keep screen history within local terminal's scroll buffer. Most terminals will dump their scrollback buffer to disk. If you open many fast scrolling terminals, that may be over hundred megabytes a minute and you will see you are running out of disk very fast on your local machine. Commented Jan 21, 2019 at 12:48