- `wc` is a command line utility for printing newline, word and byte counts for files. It can return the number of lines in a file, the number of characters in a file and the number of words in a file. It can also be combine with pipes for general counting operations Count lines, words, and bytes.
Here is an example that counts the number of lines, words and bytes: