2.4.8. head# head prints the first lines of a file. 2.4.8.1. Common head usage# Output the first 10 lines of a file: head file.txt output the last X lines of a file head -n X file.txt