Skip to main content
deepak

Featured

Deleteing lines after finding a item in vi

search for a number
use :set number to find line numer
then

sed '1,42d' test.sql > test2.sql

basically it will remove first 42 lines

Comments