pipe bash output to two different streams
bash, pipe
Solution
Look at the `tee` utility (`man tee`).
Problem
I have a bashscript that spawns processes on two different machines over ssh and then cat's the output of one into a text file. How can I have the output ALSO displayed in the terminal as it's running?