Display the byte, word, and line count of a file.
wc [options] [
files
]
-c displays only the byte count.
-w displays only the word count.
-l displays only the line count.
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.