I want to split a 400k line long log file from a particular line number.
For this question, lets make this an arbitrary number 300k.
Is there a linux function that allows me to do this?
I know split
lets me split the file in equal parts either by size or line numbers but that's not what I want. I want to the first 300k in one file and the last 100k in the second file.
Any help would be appreciated. Thanks!
On second thoughts this would be more suited to the superuser or serverfault site.