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

icon
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 PROGRAMMING PLS HELP

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer