Say I ran an expensive operation foo() which returns me a large list, but I forgot to save the output of foo() inside a variable.
Let's assume if I run foo() again, I will get a different output.
But I really need the output from the first time I ran foo().
In effect, I am asking if there is some buffer that stores the output of the last command, which I could read?