Question: You will write a program that forks. The child will execute some process and put the output onto a pipe which the parent will read
You will write a program that forks. The child will execute some process and put the output onto a pipe which the parent will read and process(i.e.., filter and/or summarize) in some way. Then the parent will print the summary to the console. (Refer to the image, make sure to use execl* in the child process) refer to the image attached for the flow of program. 
edit was 8 minutes ago 12 + BI YA IEE 2 3 5 Her and/or summarize) in some way. Then the parent will print the summary to the mee example) Parent fork() Child exec*() utility Via pipe Filter and/or agg. stdout result
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
