Multiple choice

Which of the following is not a filter?

  1. cat

  2. grep

  3. wc

  4. sort

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

In UNIX terminology, 'filters' are commands that read from standard input, perform some transformation or processing, and write to standard output. Grep (search), wc (count), and sort (order) are classic filters. Cat primarily concatenates and displays files without transforming data, so it's not typically classified as a filter despite being usable in pipelines.