Unix - Engineering

Q1:

Which command is used to count just the number of characters in a file?

A wc - 1

B wc -c

C wc -w

D wc -r

E None of the above

ANS:B - wc -c

wc -l <filename> print the line count.
wc -c <filename> print the byte count.
wc -m <filename> print the character count.
wc -L <filename> print the length of longest line.
wc -w <filename> print the word count.