wc
Purpose
Display the byte, word, and line count of a file.
Syntax
wc [options] [ files ]
Options
-c displays only the byte count.-w displays only the word count.-l displays only the line count.
Description
The wc command displays the byte, word, and line count of a file. If you do not specify an input file, wc reads from standard input.