head - print the first lines of a file
head [-n count] [files ...]
head prints the first count lines from each file. If the -n is not given, the first 10 lines will be printed. If no files are given, the first lines of standard input will be printed.
head accepts the following options:
Print count lines instead of the default 10.
The working of head is not influenced by any environment variables.
head has no known bugs.
This head implementation is compliant with the IEEE Std1003.2-1992 specification, also known as POSIX.2.
This head implementation is compatible with the OpenBSD implementation.
The Perl implementation of head was written by Abigail, perlpowertools@abigail.be.
This program is copyright by Abigail 1999.
This program is free and open software. You may use, copy, modify, distribute and sell this program (and any modified variants) in any way you wish, provided you do not restrict others to do the same.
To install PerlPowerTools, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PerlPowerTools
CPAN shell
perl -MCPAN -e shell install PerlPowerTools
For more information on module installation, please visit the detailed CPAN module installation guide.