Which command is used for counting words, lines and characters in a file?
(a) diff
(b) count
(c) man
(d) wc
This question was posed to me in an internship interview.
My doubt stems from Counting File Data: wc Command in chapter Handling Ordinary Files of Unix