The correct answer is B. wc.
The wc command is a standard Unix command-line utility for counting the number of lines, words, and characters in a file. It can also be used to convert a file to a specified format.
The syntax for the wc command is as follows:
wc [options] [files]
The options that are available for the wc command vary depending on the operating system. However, the most common options are as follows:
- -l: This option counts the number of lines in the file.
- -w: This option counts the number of words in the file.
- -c: This option counts the number of characters in the file.
If no files are specified, the wc command will read from standard input.
For example, the following command will count the number of lines, words, and characters in the file foo.txt:
wc -l foo.txt
The following command will convert the file foo.txt to a tab-delimited file:
wc -l -t foo.txt
I hope this helps!