how to create file to delete lines from a file in linux code example Example: linux remove lines from file > sed '2,4d' file