SyntaxFix
Write A Post
Hire A Developer
Questions
Easiest way I found to remove the first ten lines of a file:
$ sed 1,10d file.txt
In the general case (where X is the number of initial lines to delete, credit to commenters and editors for this):
X
$ sed 1,Xd file.txt