Question: 6- Write a C program under Linux such that the main program creates a child process. The child process must print its process id and
6- Write a C program under Linux such that the main program creates a child process. The child process must print its process id and then run a second script that says greetings (i.e. the shell script that child runs using execv code must display greetings). The parent process also must introduce itself and must run the code using execv to say goodbye
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
