Deleting all lines that contain specific data in vi or vim editor Step by ...
Theexcommandgisveryusefulforactingonlinesthatmatchapattern.Youcanuseitwiththedcommand,todeletealllinesthatcontainaparticular ...,Iamtryingtosearchatextfileforacertainpattern.Ifthispatternoccursthenitmeansthattherestofthelineisnotneededandtherefor...。參考影片的文章的如下: