Multiple choice

Which of the following can be used to achieve redirection in pipes?

  1. >

  2. >>

  3. tee

  4. lpr

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The tee is a program, which enables you to save a copy of the data being transmitted within a pipeline. It has only one option-a, which appends the output to the specified file, rather than replacing the contents of the file each time. So, redirection in pipes can be achieved by tee.