call head using the documented parameter -n 1 instead of the undocumented -1