Question: In the Bash shell, what is the difference between piping into | and piping into |&?
- Piping into | pipes both stdout and stderr. Piping into |& pipes only stderr.
- Piping into | pipes stdout. Piping into |& pipes stdout and stderr.
- Piping into | pipes both stdout and stderr. Piping into |& pipes only stdout.
- Piping into | pipes stdout. Piping into |& pipes all open file descriptors.
Answer: The correct answer of the above question is Option B:Piping into | pipes stdout. Piping into |& pipes stdout and stderr.