Output a command to terminal and log file

a_command 2>&1 | tee logfile.txt

Replies: 0

  1. How sad... there are currently no comments.

Leave a Reply