Sometimes you may need to delete one or more lines from a file. Here is sed command to delete lines in Linux.
delete lines
How to Delete Lines in VI Editor
Sometimes you may need to delete one or multiple lines in vi editor. Here are the steps to delete lines in vi editor.