Merge pull request #169 from chrisallenlane/tee
Added a `tee` cheatsheet
This commit is contained in:
commit
d0324ecef3
1 file changed
+5
@@ -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
|
||||
Reference in new issue
Block a user