Output the first part of files. More information: https://manned.org/head.1p.
head -n count path/to/file