Linux CLI - Viewing and Editing Files
Which of the following is the correct syntax to count only the number of lines in a file named
file.txt?file.txt?-l option with wc counts lines in the file.-w counts words, -c counts bytes, and -m counts characters, so they are incorrect for line count.-l means lines [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions