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.
PayPal Gateway not configured
PayPal Gateway not configured