wc
NAME
wc - count lines, words and characters
SYNOPSIS
wc [-lwc] [file ...]
DESCRIPTION
Count lines, words and characters in each file, printing them in that
order. With no file, read standard input.
OPTIONS
-l Lines only
-w Words only
-c Characters only
EXAMPLES
who | wc -l How many people are logged on
cat /usr/lmos/board | wc -l How deep the board is
SEE ALSO
grep(1), sort(1)