What is difference between head and tail command in Unix?

What is difference between head and tail command in Unix?
Answer
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