Course Solutions Uncategorized (Solved) : Carefully Study Examples Provided Forkc Mylsc Myshellc Etc Need Know Work Order Finish Ass Q31931049 . . . .

(Solved) : Carefully Study Examples Provided Forkc Mylsc Myshellc Etc Need Know Work Order Finish Ass Q31931049 . . . .

 

Carefully study the examples provided: fork.c, myls.c,myshell.c, etc. You need to know how they work in order for you tofinish this assignment. Write a program called minishell thatcreates two child processes: one to execute ‘ls-al’ and the otherto execute‘grep minishell.c’. After the forks, the original parentprocess waits for both child processes to finish before itterminates. The parent should print out the pid of each child afterit finishes. The standard output of ‘ls-al’ process should bepipedto the input to the ‘grepminishell.c’ process.Make sure you closethe unnecessary openfiles for the three processes. The outputshould be the oneline that includesthe directory entry forminishell.c.

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post