head flags & options
-n, --lines
Print the first N lines instead of the default 10.
head -n 20 file.txt
head -n -5 file.txt
-c, --bytes
Print the first N bytes of each file.
head -c 100 file.txt
head -c 1K file.txt
-q, --quiet
Never print headers giving file names.
head -q -n 5 file1.txt file2.txt
-v, --verbose
Always print headers giving file names.
head -v -n 5 file.txt