1
0
Fork 0
mirror of https://github.com/Erreur32/cheat.git synced 2025-01-12 15:52:01 +01:00
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