Unix - Engineering

Q1:

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

A cat

B head

C more

D grep

E None of the above

ANS:B - head

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.