xxxxxxxxxx
# Basic syntax:
your_program | head -n <number_lines_to_print>
# Where:
# - your_program is the CLI program or script you're running
# - | head sends the output to the head program which will cause a SIGPIPE
# error after -n lines of output have been printed because the head
# program ends and then there's nothing to pipe to.