Contents[Hide]

1. Name

tee [man page] - read from standard input and write to standard output and files

2. Synopsis

tee [OPTION]... [FILE]... 

3. Frequently used options

-a, --append
append to the given files, do not overwrite

4. Examples

Standard output redirected to file as well as to terminal:

$ free | tee tee.txt
$ cat tee.txt

standard output redirected to file with tee



Free Linux eBooks

Go to top