Deleting all lines that contain specific data in vi or vim editor Step by ...
PressEsccometocommandmodepressventervisualmodeShift+gselectseverythingfromcurrentpositiontoEOFDELdeleteselected.,FirstcomeoutfrontinputmodebypressingESCkeythenapplyggtogotofirstlineandthentypedGtodeleteeverything.,Invido:1,$dtodeletealllines.The:...。參考影片的文章的如下: