working with files

How to remove the Nth line from a file

Easy solution with sed:

$ sed --in-place '3d' test.txt

Syndicate content