CCC Online Test

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


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


A. countw
B. wcount
C. wc
D. count p



Solution
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.

Download
CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Website development Company in Allahabad