Question: need to implement a program that serves as a shell interface program that performs rudimentary shell actions. Your program should accept user commands and then
need to implement a program that serves as a shell interface program that performs rudimentary shell actions. Your program should accept user commands and then execute each command in a separate process. To do that, your implementation must utilize the UNIX fork(), exec(), wait(), dup2(), and pipe() system and support input and output redirection and pipes as a form of Inter Process Communication between a pair of commands. wanted to see an example of how this would be done.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
