1
2
3
4
5
6
7
8
$ echo foobar > /tmp/test
$ cat /tmp/test
foobar
$ echo foobarbase | tee /tmp/test
foobarbase
$ cat /tmp/test
foobarbase
$