How to use Pipes in C and Linux