📢 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 first few lines of

    a file?
    A head Correct Answer Incorrect Answer
    B tail Correct Answer Incorrect Answer
    C cat Correct Answer Incorrect Answer
    D grep Correct Answer Incorrect Answer
    E more Correct Answer Incorrect Answer

    Solution

    head shows the first 10 lines by default (can be changed with -n option).

    Practice Next
    ask-question