How big is it?

wc (word count) measures text:

  • wc -l counts lines.
  • wc -w counts words.
  • wc -c counts bytes.
  • a plain wc prints lines, words and bytes together.
wc -l ballad.txt
wc ballad.txt

Real world: "how many?" is the most common question you'll ask a terminal: how many errors, users, or files. wc -l is the usual answer, especially at the end of a pipeline, which is a later course.