remove one line from a file linux code example Example: linux remove lines from file > sed '2,4d' file