Home / CSE / Unix :: Discussion

Discussion :: Unix

  1. Which command is used to display the top of the file?

  2. A.
    cat
    B.
    head
    C.
    more
    D.
    grep
    E.
    None of the above

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    The head command displays the first few lines at the top of a file. It can be useful when you want a quick peek at a large file, as an alternative to opening the file.


Be The First To Comment