Problem
1. Which process do you think may have the maximum number of children? What is its PID? Can you divide its children into two categories?
2. How is a process created? Mention briefly the role of the fork and exec system calls in process creation.
3. Name five important process attributes that are inherited by the child from its parent.
4. A shell script foo contains the statement echo "$PATH $x". Now define x=5 at the prompt, and then run the script. Explain your observations and how you can rectify the behavior.