wc word count command


What is the wc command in Unix-like operating systems?

Have you ever had the need to count the words in a text?

If you’re like me, you’ve probably used an online word counting tool, like the one found here.

But who likes copying and pasting to a website when you have such great tooling available via terminal?

Check out the wc command.  Usage: wc [-clmw] [file …]

Here is an example:

See below for more usage options:

Leave a Reply

Your email address will not be published. Required fields are marked *