I have a CSV file that contains 49 million lines and is 2Gb big. I would like to cut the last 13million lines and save only the first 36. Is there any software that can easily accomplish this? I have the necessary RAM to open such a big file. Wordpad doesn't do it. VIM opens it but it seems I can only delete the content of the current window.