Linux "wc" Command Line Options and Examples
print newline, word, and byte counts for each file

Print newline, word, and byte counts for each FILE, and a total line if more than one FILE is specified. A word is a non-zero-length sequence of characters delimited by white space. With no FILE, or when FILE is -, read standard input.


Usage:

wc [OPTION]... [FILE]...
    wc [OPTION]... --files0-from=F




Command Line Options:

-c
print the byte counts
wc -c ...
-m
print the character counts
wc -m ...
-l
print the newline counts
wc -l ...
--files0-from
read input from the files specified by NUL-terminated names in file F; If F is - then read names fromstandard input
wc --files0-from ...
-L
print the maximum display width
wc -L ...
-w
print the word counts
wc -w ...
--help
display this help and exit
wc --help ...
--version
output version information and exitAUTHORWritten by Paul Rubin and David MacKenzie.REPORTING BUGSGNU coreutils online help: <http://www.gnu.org/software/coreutils/>Report wc translation bugs to <http://translationproject.org/team/>COPYRIGHTCopyright © 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later<http://gnu.org/licenses/gpl.html>.This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent per‐mitted by law.
wc --version ...