Ubuntu: Is it possible to see a log of all terminal output that occurred after running a command?



Question:

I know it's possible to see a history of all commands I've run, but is it possible to see a log of all terminal output that occurred after running a command?

Context is that I want to see exactly what happened when I ran a command a couple of days ago, as opposed to yesterday.


Solution:1

The output is not logged as matter of course. If it's out of your buffer (ie you have the window open still and can scroll back up), or you've closed the terminal, it's gone. Sorry.

In the future, there are a couple of techniques for logging entire bash sessions.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »