mirror of
https://github.com/Erreur32/cheat.git
synced 2024-11-18 01:40:44 +01:00
5 lines
111 B
Text
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
|