How do I remove the first 300 million lines from a 700 GB text file on a system with 1 TB disk space total, with 300 GB available? (My system has 2 GB of memory.) The answers I found use sed, tail, head: How do I delete the first n lines of a text file using shell commands? Remove the first n lines of a large text file But I think (please correct me) I cannot use them due to the disk space being l