Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 1680

TEE - duplicate output to STDERR

$
0
0
In Linux, I can easily achieve copying STDOUT to STDERR by
Code:
ps -al | tee /dev/stderr | wc -l
(I.e. list all processes and display a number of lines at the bottom.)
Is this possible in TCMD?

Viewing all articles
Browse latest Browse all 1680

Trending Articles