Instead of using fancy redirection commands for output use tee which reads from standard input and writes to standard output and files.
Instead of using fancy redirection commands for output use tee which reads from standard input and writes to standard output and files.