How do I read the first line of a file using cat?
cat
cat alone may not be possible, but if you don't want to use head this works:
head
cat | awk 'NR == 1'