What command is used to count just the number of characters in a file ?
Correct answer: C. wc - c
- A. wc - r
- B. wc - w
- C. wc - c
- D. wc - 1
Explanation
The `wc -c` option counts the number of bytes in a file and is traditionally described in basic Unix questions as counting characters. In multibyte locales, exact character counting is done with `wc -m`, which is not among the options.
Report an error
The more specific you are, the faster it gets fixed. A source beats an opinion.
Prefer email? [email protected]
Practise Software Development Lifecycle
423 free Software Development Lifecycle MCQs from Software Engineering, each with the correct answer and an explanation. Unlimited attempts, no account needed.
Discussion
Stuck on an option, or know a faster way to get there? Ask or explain it here.
No comments yet. Be the first to explain this one.
Exams that ask Software Engineering questions like this
Software Engineering is on this paper prepared for on TestUstad, and all of them draw the same bank, so this question is worth knowing for it.
More Software Development Lifecycle questions
What does GNU stand for ?
How many extended partitions can exist on one drive ?
What command is used to count the number of files in the current directory by using pipes ?
For you to create a swap partition by using fdisk, what must the partition's system ID type be ?
What command is used to query for a specific package with RPM ?
Which of the following NIS clients, finds and stores information about an NIS domain and server ?