1.

Which option is used for counting the number of lines in a file only.(a) -l(b) -W(c) -c(d) -wThis question was addressed to me in semester exam.Question is from Counting File Data: wc Command in portion Handling Ordinary Files of Unix

Answer» CORRECT option is (a) -l

The best I can explain: -l option when used with wc COMMAND DISPLAY only the number of lines in the SPECIFIED FILE.


Discussion

No Comment Found

Related InterviewSolutions