Pipes

You can use a pipe (|) to build complex commands from smaller ones.

For example:

grep 'some term' *.html | sort -u | wc -l

Programs such as grep, sort, and wc (a utility that counts characters, words, and lines) that read from standard input and write to standard output are called filters.