What does Linux wc -m or –chars option do?

You can use wc -m or –chars option to print only the character counts. By default, wc command prints newline, word, and byte counts for each FILE, and a total line if more than one FILE is specified.

Example:

Leave a Reply