SyntaxFix
Write A Post
Hire A Developer
Questions
I prefer this solution;
head -$(gcalctool -s $(cat file | wc -l)-N) file
where N is the number of lines to remove.