test.txt
a b c d e
$ sed 1d test.txt b c d e
$ sed 2,4d test.txt a e
$ sed '3,$d' test.txt a b
Related contents