📢 Too many exams? Don’t know which one suits you best? Book Your Free Expert 👉 call Now!

  • google app store apple app store
  • ✖

      Question

      Which command is used to display the number of lines in

      a file?
      A cat Correct Answer Incorrect Answer
      B wc -l Correct Answer Incorrect Answer
      C grep -n Correct Answer Incorrect Answer
      D count -l Correct Answer Incorrect Answer
      E ls -l Correct Answer Incorrect Answer

      Solution

      wc -l filename counts the number of lines.

      Practice Next
      ask-question