Which of the following command is used to count the total number of lines, words and characters contained in a file? (a) countw (b) wcount (c) wc (d) wordcount
Answers
Answered by
1
(a). countw is the command which is used for to count the total number of lines.
Answered by
6
"Option: (c),wc
The question has been asked without any context or reference. On assuming that this question has been asked in Linux shell scripting, the answer is below.
The wc command is used for counting the total lines, words and characters in a file name given in next to the wc command. So, the correct choice of answer for the given question from the given list of possible answers is (c) wc.
"
Similar questions