Google News
logo
Unix - Quiz(MCQ)
Which command is used to display the top of the file?
A)
cat
B)
grep
C)
head
D)
more

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.

Advertisement