Which option is used for counting the number of words in a file only?
(a) -l
(b) -W
(c) -c
(d) -w
This question was addressed to me during an interview.
This interesting question is from Counting File Data: wc Command topic in chapter Handling Ordinary Files of Unix