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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!