I have a 2.8GB sql dump file in linux. I need to delete lines 18 through 3000, but I can't open it in a text editor like vim because it's so big.
Any suggestions? I assume you could use sed or something similar, I just don't know the command.
I have a 2.8GB sql dump file in linux. I need to delete lines 18 through 3000, but I can't open it in a text editor like vim because it's so big.
Any suggestions? I assume you could use sed or something similar, I just don't know the command.
I think that's what sed was designed for:
Resources