Unix

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

A wc - 1

B wc -c

C wc -w

D wc -r

E None of the above

ANS:B - wc -c

wc -l <filename> print the line count.
wc -c <filename> print the byte count.
wc -m <filename> print the character count.
wc -L <filename> print the length of longest line.
wc -w <filename> print the word count.



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.