Unix

wc -c Command In Unix

wc Command with -c option used to print the byte counts (characters) of a file In Unix and Unix like operating systems Including Linux .

wc command without giving any option prints Three Counts (lines, words, and characters). But with -c option, only the byte (characters) count will be printed.