Merge pull request #169 from chrisallenlane/tee

Added a `tee` cheatsheet
This commit is contained in:
Chris Lane 2014-06-22 17:24:39 -04:00
commit d0324ecef3
1 changed files with 5 additions and 0 deletions

5
cheat/cheatsheets/tee Normal file
View 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