## Exercise 2

 1. Write a C program that uses ‹fork()› to create two processes.
    The parent:
    
    a. creates a file called ‹file1.txt›
    b. loops until ‹file2.txt› appears -- you can use ‹stat› and
       ‹sleep( 1 )›
    c. unlinks both ‹file1.txt› and ‹file2.txt›
    d. waits for the child process and prints its exit code
    
 2. The child:
    
    a. waits until a file called ‹file1.txt› appears
    b. creates a file ‹file2.txt›
    c. exits with a code of your choosing
    
 3. Print a message in both the parent and the child after each step
    (identifying which process is talking).

That's that. We are ready for the final chapter for today, and that
is ‹exec›:

    $ micro exec1.c
