vi command to replace [sometext] with [someothertext] Posted by admin in Home, Unix, on July 25, 2017 :%s/somematch/tosomeothermatch/g Share this:Click to share on Twitter (Opens in new window)Click to share on Facebook (Opens in new window) Related Tags: replace, vi