This question already has an answer here:
If I wanted to save output to a file from a command like make, I would do:
make > out.txt
However that stops the output from being displayed on the console window, and only saves to a file.
Is there a way to display output from a monitoring process, or a long make command and save it to a file?