Output the first part of files. More information: https://www.gnu.org/software/coreutils/head.
head --lines count path/to/file
head --bytes count path/to/file
head --lines -count path/to/file
head --bytes -count path/to/file