How To delete all blank lines In Linux Or Ubuntu in vi ...
PressEsccometocommandmodepressventervisualmodeShift+gselectseverythingfromcurrentpositiontoEOFDELdeleteselected.,FirstcomeoutfrontinputmodebypressingESCkeythenapplyggtogotofirstlineandthentypedGtodeleteeverything.,Invido:1,$dtodeletealllines.The:...。參考影片的文章的如下: