How to delete everything after the 5th line with awk?
6550
What's the best way to take a segment out of a text file?
58770
Remove the last line from a file in Bash
57165
How do I grep lines ending on a specific expression
143494
Print only the Nth line before each line that matches a pattern
112581
Replacing pattern after nth match is found on each line?
1451
How do I remove lines of a file which contain a specific string?
29090
Return only the portion of a line after a matching pattern
139251
Unix separation of specific numbers from Column
134655
How to edit next line after pattern using sed?
40166
How can I extract a predetermined range of lines from a text file on Unix?
131922
cut out specific fields from text file
138476
How to delete files listed in a text file
8307
Delete n lines in the up direction in vim
30288
How to print all lines after a match up to the end of the file?
138004
How can I use awk to (sometimes) remove the first character of a column?
127141
awk repetition {n} is not working
103134
Remove duplicate $PATH entries with awk command