cheat-fork-echo/cheat/cheatsheets/tee

6 lines
111 B
Plaintext
Raw Normal View History

2014-06-22 23:24:09 +02:00
# To tee stdout to a file:
ls | tee outfile.txt
# To tee stdout and append to a file:
ls | tee -a outfile.txt