Question: This homework focuses on learning how to create processes in Linux/Unix. 1. Using Fork() and Exec() or Clone(), create four child processes. Load the Hello
This homework focuses on learning how to create processes in Linux/Unix.
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.
What commands can I run in Linux to creat the child processes? I have the hello progam to load in. Im just not sure how to creat the child programs?
2. Each process should run and return to the parent process where the parent is waiting to terminate
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
