search on lynty.com

tee

Print PDF

### tee ###

 

 

who | tee -a file1 file2 file3 file4

this will write the output of who to your screen, file1,file2,file3 and file4.

 

-a option is adding redirect to existing file, not just clean redirecting