ExamVeda
Login
Home
This question belongs to Computer Science Linux
Linux
?

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

Answer & Solution
Correct Answer: Option C
The wc command is used to count the total number of lines, words, and characters contained in a file.
Using this command, you can quickly get statistics about a file's content, which is useful for various purposes, such as analyzing text files or checking the size of files.
It stands for "word count," but it can also count lines and characters depending on the options provided.
So, in summary, to count lines, words, and characters in a file, you'd use the wc command in Linux.
Examveda
Question posted by Examveda
Community

Join the Discussion

1 Comment
Whatsapp Video
Whatsapp Video 9 years ago
You can explain me.....