In bash, is there a way to echo/print the last stdout? Is there a variable that stdout is assigned to?

Viewed 13762

In bash, is there a way to echo/print the last stdout? Is there a variable that stdout is assigned to?

I don't want to redirect the output. I just want to be able to read/print it after a command is run.

2 Answers
Related