
tee
List of commands for tee:
-
tee:tldr:467d4 tee: Create a directory called "example", count the number of characters in "example" and write "example" to the terminal.$ echo "example" | tee >(xargs mkdir) >(wc -c)try on your machineexplain this command
-
tee:tldr:a8aa3 tee: Append to the given files, do not overwrite.$ echo "example" | tee -a ${filename}try on your machineexplain this command
-
tee:tldr:bb6c9 tee: Print standard input to the terminal, and also pipe it into another program for further processing.$ echo "example" | tee ${-dev-tty} | ${xargs printf "[%s]"}try on your machineexplain this command
-
tee:tldr:ff914 tee: Copy standard input to each file, and also to standard output.$ echo "example" | tee ${filename}try on your machineexplain this command