Minishell Activity • Write a program called minishell that creates two child processes: one to execute ‘cat minishell.c’ and the other to execute ‘grep main’. • After the forks, the original parent process waits for both child processes to finish before it terminates. • The standard output of ‘ls process should be piped to the input to the ‘grep’ process. Make sure you close the unnecessary open files for the three processes. • Use fork.c, myls.c, myshell.c, pipes.c as examples • Your program should be very similar to pipes.c
The reference papers or solutions provided by Bestnursingassignmenthelp.com serve as model papers or solutions for students or professionals and are not to be submitted as it is to any institutions. These documents are intended to be used for research and reference purposes only.
+1 985 401 7713