What does head and tail do in Linux?

Trường Phan

New member
What does head and tail do in Linux?
Answer
They are, by default, installed in all Linux distributions. As their names imply,
the head command will output the first part of the file, while the tail command will print the last part of the file. Both commands write the result to standard output.
 

Tìm kiếm

Back
Top