[NTLUG:Discuss] Output to Multiple Files

Courtney Grimland courtney at grimland.net
Thu Apr 7 09:26:05 CDT 2005


Stack two tees, and redirect screen output to null.

dd <options> | tee file1 | tee file2 2>&1 > /dev/null



David Wilson wrote:

>My understanding is that Tee outputs to Standard out
>(monitor) and a file but not to two files.  
>





More information about the Discuss mailing list