3

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.

1 Answers1

3

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.

Oli
  • 293,335