Skip navigation
All People > Patrick-Dussault > Patrick Dussault's Blog > 2017 > August

If you need to catch all the output of an interactive command line in
a file, as to illustrate it, you can use the tee
command to do so :


# ./ -i console | tee output.txt


and the file output.txt will have all the output you have seen during
the execution of the command