What is head and tail in Unix?
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.
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.