Jan 072010
How to redirect output to more than one place
Answer:
It is easy to redirect output to a file by using >
E.g.
cat test.txt > foo.txt
But if you want to redirect to more than one file, you can use the tee command
E.g.
cat test.txt | tee bar.txt > foo.txt