?
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.
So, wc -c is the correct command to count just the number of characters in a file.
Join the Discussion
Login to post a comment or share your explanation.
Login