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

5 lines
111 B
Text

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