This question already has an answer here:
I often pipe commands to
less in order to read through the output (e.g. compiler errors).
MyCommand | less
This is great because it makes trawling through large amounts of output easy, but when I exit
less the output is gone. How can I make the output still visible after quitting less?
This question differs from Is there a way to redirect a program's output and still have it go to stdout? because that question relates to output to a text file via
tee, which, as far as I know, doesn't provide a facility to split output between