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


    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