📢 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 last 10 lines of a

    file in Linux?
    A head Correct Answer Incorrect Answer
    B tail Correct Answer Incorrect Answer
    C cat Correct Answer Incorrect Answer
    D less Correct Answer Incorrect Answer
    E more Correct Answer Incorrect Answer

    Solution

    tail shows the last part of a file; by default, it displays the last 10 lines.

    Practice Next
    More Shell Scripting Questions
    ask-question