Question: 1. Using Fork() and Exec() or Clone(), create four child processes. Load the Hello program in each process after creation (same program). Each child program
1. Using Fork() and Exec() or Clone(), create four child processes. Load the Hello program in each process after creation (same program). Each child program should print its own PID or some other parameters distinguishing its execution.
2. Each process should run and return to the parent process where the parent is waiting to terminate. The parent should only terminate after all children returned from execution.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
