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

Which command is used to count just the number of characters in a file?

Answer & Solution
Correct Answer: Option B
In Unix, the wc command is used to count words, lines, and characters in a file. The -c option specifically instructs wc to count just the number of characters in the file.
So, wc -c is the correct command to count just the number of characters in a file.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.