August 1999
Intermediate to advanced
1000 pages
83h 9m
English
/usr/bin/wc [-c | -m | -C][-lw][file...] Use the wc command to display a count of the lines, words, and characters in a file. The wc command reads one or more input files and, by default, writes the number of newline characters, words, and bytes contained in each input file to the standard output.
The command also writes a total count for all named files if you specify more than one input file.
wc considers a word to be a non-zero-length string of characters delimited by white space such as space or Tab (see iswspace(3C) or isspace(3C)).
| -c | Count bytes. |
| -m | Count characters. |
| -C | Same as -m. |
| -l | Count lines. |
| -w | Count words delimited by white space characters ... |
Read now
Unlock full access