Multiple choice general knowledge

what is the command to know the lines in one file?

  1. wc -l

  2. wl -c

  3. lc -w

  4. wk -a

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

wc -l is the standard Unix/Linux command that counts the number of lines in a file. 'wc' stands for word count, and the -l flag specifically counts lines. Options like wl -c, lc -w, and wk -a are not valid Unix commands.