mirror of
https://github.com/cheat/cheat.git
synced 2024-09-27 22:11:31 +02:00
Added a tee
cheatsheet
This commit is contained in:
parent
191a5e6e84
commit
d1fb8414f8
5
cheat/cheatsheets/tee
Normal file
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
|
Loading…
Reference in New Issue
Block a user