Exercise: Redirection Operators

Published on October 1, 2025
Exercise: Redirection Operators

A set of testing-relevant exercises to help testers use, and see the use of, redirection operators on the commandline.

Redirection operators (|, >, >>, <) let you control

  • input <,
  • output > and >> and
  • chaining input to output |.

Useful info at Redirection Operators for Testers.

info to be filled in

Exercise 1 – count the unique values in a table

Exercise 1 – appendage

Exercise 1 – pick the error messages out of curl

Exercise 1 – last 10 lines of recent logs

Exercise 1 – streaming into tail