WC: the number of lines, words and bytes of the printed file.
wc [option] [file]
- -c: Print bytes
- -m: Number of characters printed
- -l: Print lines
- -w: Number of printed words
- -50: The length of the longest line to print (in characters)
[file] can be one or more file names, or - (standard input)
When no options are added, the number of lines, words and bytes are displayed by default. If there are multiple files, they will be summarized and the total number of lines, words and bytes will be displayed in the last line.