Minishell Activity Program Coding-FSCJ .
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