Tag Archives: vi editor

vi tutorial -3

Last updated on August 11th, 2015 at 08:18 amRanges Ranges may precede most “colon” commands and cause them to be executed on a line or lines. For example :3,7d would delete lines 3-7. Ranges are commonly combined with the :s command to perform a replacement on several lines, as with :.,$s/pattern/string/g to make a replacement from the current line to the end of the file. … Continue reading vi tutorial -3 »

Unix Tutorial : vi tutorial -2

Last updated on November 12th, 2016 at 05:55 amHere we would be continuing our series on Vi editor learning. We have learned about how to open file using vi editor, how to edit it in the below link Unix Tutorial :vi editor Part -1 Now we would be seeing┬ávim search command, vi substitution, vi replace with examples vim search command /string Search forward for string … Continue reading Unix Tutorial : vi tutorial -2 »