I saw the sed examples, but no matter how I write that it won\'t delete my first line. Actually, I did more tests and it won\'t delete my first line either, so
sed
Try cat file1 | sed "1,1d; $d" > file2
cat file1 | sed "1,1d; $d" > file2