How to delete every two lines after 3rd lines in a file contains very large number of lines?
45281
How to print lines number 15 and 25 out of each 50 lines?
66920
How to delete from a text file, all lines that contain a specific string?
95478
How to remove a file with two words separated by a space in the shell?
4978
Delete Every line with that Word
81023
Delete Everything(the rest of the text) after a specific string
55246
Remove line containing certain string and the following line
19143
Delete everything before "/" on every line
124318
Is there a faster way to remove a line (given a line number) from a file?
27633
Delete all lines in Notepad++ except lines containing a word I need?
78391
Need to move the last line of the file to second line of the same file
29766
How to delete whole text from the beginning of a line with a certain string
107445
Printing every Nth line out of a large file into a new file
10174
How to delete duplicate lines in a file without sorting it in Unix?
130346
How do I delete all items that occur more than once?
150627
Most efficient method to empty the contents of a file
6168
How do I delete the first n lines and last line of a file using shell commands?
49331
How to loop over the lines of a file?