wc Command – Count Output by Lines, Words or Characters

The Linux wc command it one of the many text utilities that come packaged with the GNU Core Utilities. It allows you to print a count of words, lines, characters, or even bytes in a file or standard input (STDIN). In this article we will show you the basics of using the wc command, and include some real world examples.

Source: LXer – wc Command – Count Output by Lines, Words or Characters