1.

Which option is used for counting the number of characters in a file only.(a) -l(b) -W(c) -c(d) -wThis question was posed to me in an interview.My query is from Counting File Data: wc Command topic in section Handling Ordinary Files of Unix

Answer»

Correct OPTION is (c) -c

For explanation: -c option when used with WC COMMAND display only the number of characters in the specified file.



Discussion

No Comment Found

Related InterviewSolutions