Skip to content
Advertisement

Output was lost in linux terminal. How do I restore? [closed]

I was executing the script and sequentially outputting the result of the execution to the command line. Since there was too much data, the output was lost, and now I only have the last part of it on the screen. Is it possible to get the whole output somehow?

Advertisement

Answer

No. Once the output in a terminal window is gone, you can’t get it back. Therefore it’s advised, either to work with a terminal that can contain more than just one screen, or to forward your output to an output file, which you can analyse afterwards.

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement