perl -i.bak -ne 'print if 2..eof' myfile