Coreutils tee: Revision history

From wikinotes

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

29 December 2023

  • curprev 23:0223:02, 29 December 2023Will talk contribs 354 bytes +354 Created page with "Tee reads from standard input,<br> and writes to a file(s)<br> in addition to the standard output. = Usage = <blockquote> <syntaxhighlight lang="bash"> # write input to multiple files echo foo | tee /out/file1 /out/file2 # pipe input to multiple commands echo foo | tee >(cat /dev/stdin) >(cat /dev/stdin) </syntaxhighlight> </blockquote><!-- Usage -->"