Head Command Examples The head command in unix or linux system is used to print the first N lines from the file to the terminal. The syntax of head command is head [options] [files] The head command options are: · c : Prints the first N bytes of file; With leading -, prints all but the last N bytes of the file. · n : Prints first N lines; With leading - print all but the last N lines of each file. Head Command Examples : Create the following file in your linux or unix operating system for practicing the examples: > cat example.txt linux storage ubuntu os fedora 1. Display first 10 lines By default, the head command prints the ...