I want to delete one or more specific line numbers from a file. How would I do this using sed?
Tell me more
×
Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
|
To delete lines 2, 12-17 and line 57 from file
to create a backup of the original file (with a
|
|||
|
|