Extend your shell with pipelining (mandatory for teams of 3 or 4) The command $ cmd1 | cmd2 | cmd3 connects the standard output of cmd1 to the standard input of cmd2, and again connects the standard output of cmd2 to the standard input of cmd3 using the pipeline operator '|'. You will need to use the pipe() system call. Your shell should be able to handle up to three commands chained together with the pipeline operator (i.e., your shell should support up to two pipes pipelined together). This portion of the project should only require implementing support for a pipeline of 2 pipes/3 commands (no working with redirection). HOW TO DO THIS IN C PROGRAMMING PLS HELP
Extend your shell with pipelining (mandatory for teams of 3 or 4) The command $ cmd1 | cmd2 | cmd3 connects the standard output of cmd1 to the standard input of cmd2, and again connects the standard output of cmd2 to the standard input of cmd3 using the pipeline operator '|'. You will need to use the pipe() system call. Your shell should be able to handle up to three commands chained together with the pipeline operator (i.e., your shell should support up to two pipes pipelined together). This portion of the project should only require implementing support for a pipeline of 2 pipes/3 commands (no working with redirection). HOW TO DO THIS IN C PROGRAMMING PLS HELP
Related questions
Question
Extend your shell with pipelining (mandatory for teams of 3 or 4)
The command
$ cmd1 | cmd2 | cmd3
connects the standard output of cmd1 to the standard input of cmd2, and again
connects the standard output of cmd2 to the standard input of cmd3 using the
pipeline operator '|'.
You will need to use the pipe() system call. Your shell should be able to
handle up to three commands chained together with the pipeline operator (i.e.,
your shell should support up to two pipes pipelined together). This portion of
the project should only require implementing support for a pipeline of 2 pipes/3
commands (no working with redirection).
HOW TO DO THIS IN C
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps