LinuxSay - A Discussion Forum for Linux Enthusiasts

How to Run Commands from Standard Input Using Tee and Xargs in Linux

While using the command line, you can directly pass the output of one program (for example a tool that generates some system information or statistics) as input for another program (such as text-filtering or pattern searching tools like grep, sed or awk, for further processing), using a pipeline.

Originally Published at