D

Dhruva Jagannath • 660 Points
Invincible

Q. Which command is used to count the number of lines in a file?

  • (A) cat
  • (B) count
  • (C) wc -l
  • (D) lines
  • Correct Answer - Option(C)
  • Views: 22
  • Filed under category Linux
  • Hashtags:

Explanation by: Dhruva Jagannath
'wc -l' counts the number of lines in a file.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.