perl -lane 'print $F[1] if $. < 5;' test.txt