## Exercise 2

 1. First, a hint: you will want to use ‹execvp( argv[1], argv + 1 )› to execute a
    program along with arguments given to you on the command line.
 2. If you prefer a complete example, check out ‹execvp.c›.
 3. Write a C program that uses ‹pipe› and ‹dup2› to send the string
    ‹"hello\nworld\n"› as the input to a command given to it as described in
    point 1 above.
 4. Check that the program works as expected by running ‹./a.out cat› and
    ‹./a.out wc -l›.

We can now move on to sockets, see

    $ micro socketpair.c
