Computer Science - Linux - Discussion

Discussion Forum : Linux - Section 1 (Q.No. 1)
1.
What command is used to count the total number of lines, words, and characters contained in a file?
countw
wcount
wc
count p
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
14 comments Page 1 of 2.

Idd moshi said:   11 months ago
Wc -l filename.

Adarsh said:   3 years ago
wc is the right ans for this question becase wc <file name > uses for cout lines, no of word and total char.

Anupam Thakur said:   5 years ago
The wc (word count) command in Unix/Linux operating systems is used to find out number of newline count, word count, byte and characters count in a files specified by the file arguments.

Anupam Thakur said:   5 years ago
The full form of WC is word count.

Sonali shelke said:   5 years ago
wc is the only command in Linux which is used for counting total no characters, words and lines.

Dauntlessrony said:   6 years ago
wc -l, -c, -w.

Vineet said:   7 years ago
wc -l filename -> lines words character.

Nv narayana said:   8 years ago
wc -l A to count the no of lines in file.

wc - c to count the no characters in the file.

wc-w to count the no of words in the file.

Suresh said:   8 years ago
wc: The command it self contains the word count.

It counts the number words are available in the file.

Reet said:   9 years ago
wc--- will give the number of lines words and bytes.


Post your comments here:

Your comments will be displayed after verification.