Problem
1. Explain how the kernel treats zombies and orphans.
2. Write a program that repeatedly prints the Shell> prompt to accept a UNIX command as argument. The command line, which can't contain shell metacharacters, will be executed by an exec function. The program will terminate when the user enters exit. Also try running the program with some of the shell's internal commands (like umask), and explain your observations.