Exploring the Many Uses of Linux Pipes

Exploring the Many Uses of Linux Pipes

Source | TLPI System Programming Notes Compiled & formatted | Embedded Application Research Institute Overview The most common use of pipes is in the shell, for example: $ ls | wc -l To execute the above command, the shell creates two processes to execute <span>ls</span> and <span>wc</span> (achieved through <span>fork()</span> and <span>exec()</span>), as shown below: … Read more