Daily Archives: July 4, 2015

vi Editor – Searching and Replacing

Searching and Replacing The formal syntax for searching is: :s/string For example, suppose you want to search some text for the string “cherry.” Type the following and press ENTER: :s/cherry The first match for “cherry” in your text will then … Continue reading

Posted in linux | Tagged , , | Leave a comment