perl -e 'my $c = <> for 1..2; print "One line\n" if $. == 1;' file.txt