How do I delete the last n lines of an ascii file using shell commands?
42904
How to obtain inverse behavior for `tail` and `head`?
57693
Quickly read the last line of a text file?
4497
Delete specific line number(s) from a text file using sed?
61570
Get last n lines of a file, similar to tail
50842
How to delete blank lines starting from line 5
121046
How do I remove ï»¿ from the beginning of a file?
79803
How to truncate a file in C?
158113
Move first N lines of output to end without using temporary file
15634
How can I shuffle the lines of a text file on the Unix command line or in a shell script?
108311
How do I convert all files in a folder to a different line ending? (on Windows)
75052
Connecting n commands with pipes in a shell?
123412
How to remove newline character between two strings \n in unix?
40166
How can I extract a predetermined range of lines from a text file on Unix?
107445
Printing every Nth line out of a large file into a new file
18344
How to apply shell command to each line of a command output?
36616
How Does One Remove Duplicate Text Lines From Files Larger Than 4GB?
51370
Bash script to remove the oldest file from from a folder