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.


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

Command Line Options:

print the byte counts
wc -c ...
print the character counts
wc -m ...
print the newline counts
wc -l ...
read input from the files specified by NUL-terminated names in file F; If F is - then read names fromstandard input
wc --files0-from ...
print the maximum display width
wc -L ...
print the word counts
wc -w ...
display this help and exit
wc --help ...
output version information and exitAUTHORWritten by Paul Rubin and David MacKenzie.REPORTING BUGSGNU coreutils online help: <>Report wc translation bugs to <>COPYRIGHTCopyright © 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later<>.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 ...