Get Latest Exam news, Private & Government Job Alerts and Free Study Materials for Exam preparations.

Which of the following command is used to count the total number of lines, words and characters contained in a file?

Options:

1. countw

2. wcount

3 wc

4. wordcount

The correct answer is option 4. wc

WC command to count the total number of lines, words and characters contained in a file