Which command is used to display the top of the file?
Options
A. cat
B. head
C. more
D. grep
E. None of the above
Correct Answer
head
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.