Introduction to Operating System Question Answer

What command is used to count the total number of lines words and characters contained in a file on


What command is used to count the total number of lines, words, and characters contained in a file on LINUX?

LINUX में किसी फ़ाइल में टोटल लाइन्स,वर्ड्स और कैरक्टर्स को काउंट करने के लिए कौन से कमांड का यूज़ किया जाता है?
Topic : Introduction to Operating System

A. countw

B. wcount

C. wc

D. count p




Correct Answer

C. wc


Explanation :

 The most easiest way to count the number of lineswords, and characters in text file is to use the Linux command “wc” in terminal. The command “wc” basically means “word count” and with different optional parameters one can use it to count the number of lineswords, and characters in a text file.



CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Sarkari Exam Quiz O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank