tuxtweaks.com
Command Line Basics: Create Text Files With tee
The Linux tee command is a way to write standard out to a file. The output is still send to standard out, but a copy is sent to create your text file.
Linerd