Bookmark and Share

Print command output including errors to multiple files and not screen

echo "$(date)" 2>&1 | tee -a file1 file2 >/dev/null
blog comments powered by Disqus