How would I get my terminal to regurgitate the previous output text from past commands? Is this even possible?
4
votes
3
answers
1226
views
I just ran a job that takes several hours, and I forgot to pipe that text into a text file.
pseudocode:
echo [previous text output] > OutputHistory.txt
Additionally, I can't just "copy and paste" what was in my terminal because 1) the display omits important formatting characters like "\t", and 2, I may have closed the terminal window.
Is this possible with any Unix commands?
Asked by Tom
(163 rep)
Jun 8, 2016, 09:41 PM
Last activity: Feb 20, 2025, 12:47 AM
Last activity: Feb 20, 2025, 12:47 AM