Skip to main content

wc (Word Count)

Geoffrey Hunter
mbedded.ninja Author

Overview

wc (Word Count) is a command-line utility program for UNIX that generates word count statistics (and lots of other useful information like line count) for given input.

To print out statistics on a text file:

wc my_file