NIELIT O Level Exam

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

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

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

A. countw

B. wcount

C. wc

D. count p




Correct Answer is :

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 Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad