What is head command used for in Linux?

Experience Level: Junior
Tags: Linux


The head is a command is used to print out data from the start of a file. It is the opposite of the tail command which is used to output data from the end of a file.


No Comments Yet.
Be the first to tell us what you think.
Linux for beginners
Linux for beginners

Are you learning Linux ? Try our test we designed to help you progress faster.

Test yourself