I've run a script in a screen session but I forgot to redirect stdout to a file. There's about 10MB worth of text. If there's even some way to highlight the text and copy paste I would, but Ctrl-A + Esc won't scroll my terminal view when I click and drag the mouse. I'm using bash on Ubuntu 18. Is there anything I can try?
Bash – Save or capture Screen output to file after it has written to stdout
bashgnu-screen
Best Answer
So the usual scroll back buffer isn't going to hold that much data so you're likely SOL. Sorry.
That being said, screen has it's own scroll back buffer that is separate from your terminal (and hence click and drag). What you want to do is:
If you don't know vi keys skip #2 and do ctrl-b as long as it scrolls for #4.