1
0
mirror of https://github.com/cheat/cheat.git synced 2025-07-16 10:42:03 +02:00

Merge pull request from chrisallenlane/tee

Added a `tee` cheatsheet
This commit is contained in:
Chris Lane
2014-06-22 17:24:39 -04:00

5
cheat/cheatsheets/tee Normal file

@ -0,0 +1,5 @@
# To tee stdout to a file:
ls | tee outfile.txt
# To tee stdout and append to a file:
ls | tee -a outfile.txt