how to replace a string in vi
first occurrence on current line:
globally/all occurrences on current line – note the /g at the end, this makes it “global”
every occurrence in file:
first occurrence on current line:
globally/all occurrences on current line – note the /g at the end, this makes it “global”
every occurrence in file: