WC(1) General Commands Manual WC(1)

wcword, line, and byte or character count

wc [-c | -m] [-lw] [file ...]

The wc utility writes, for each file, the number of lines, words, and bytes that it contains to the standard output.

Print the number of bytes.
Print the number of lines.
Print the number of characters.
Print the number of words.

When an option is specified only the requested information is reported.

The wc utility exits 0 on success, and >0 if an error occurs.

The wc utility is compliant with the specification.

December 29, 2019 EltaninOS