I have been looking for an answer to this and not finding anything which makes me think it's not possible but ...
Is it possible to save the current Gnome Terminal scrollback buffer to a file?
I know that I can do something like command > output.txt
to redirect all output to a file, or command | tee output.txt
to split the output to the terminal as well as to a file. What I am trying to do is capture this after the fact. I'd like to save the current terminal tab's scrollback contents to a file.