Multiple choice

Which operator is used in UNIX for connecting the standard output of one command to the standard input of another?

  1. Echo

  2. Sort

  3. Grep

  4. Pipe

  5. WC

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

The standard output of one command may be connected to the standard input of another by writing the 'pipe' operator, indicated by |, as in, ls -l | wc.