Which command is utilized to count only the number of lines in a file?
Explanation
Option A (wc -lD) is the command that counts the number of lines in a file. The other options perform different functions: wc -c counts bytes, wc -w counts words, and wc -r is not a standard option.