cheat-fork-echo/cheat/cheatsheets/tee
2014-06-22 17:24:09 -04:00

6 lines
111 B
Plaintext

# To tee stdout to a file:
ls | tee outfile.txt
# To tee stdout and append to a file:
ls | tee -a outfile.txt