Not enough disk space: remove first n lines of text file without copying the file
41826
Is there a way to modify a file in-place?
56368
How to use PHP to delete X number of lines from the beginning of a text file?
13667
Print file content without the first and last lines
42878
Sort a text file by line length including spaces
50542
Remove lines from file up to a pattern, unless the pattern doesn't exist
42619
How to delete a specific line in a file?
154316
How to delete specific lines from a txt file
72284
How to strip a listing of all (line and block) comments without leaving white space?
10385
Clear unused space with zeros (ext3,ext4)
96703
How to delete a file in Windows with a too long filename?
107006
Replace first line of a text file in Java
47314
List (or move) only files with a certain number of lines?
11332
How to read a file without newlines?
36913
How to remove lines included in one file from another file?
129670
How to clean up unnecessary files
138476
How to delete files listed in a text file
22590
How to insert text before the first line of a file?