Input and Output Redirection (or, playing with file descriptors for fun and profit)
When you create a process, you can control where its three standard file descriptors point, with powerful results.
When you create a process, you can control where its three standard file descriptors point, with powerful results.