#compsci tee is a command that lets you write the [[IOE streams in Linux|output]] of some other command to two different streams. Example: $ ls | tee peanuts.txt