vi command to replace [sometext] with [someothertext]
Posted by admin in Home, Unix, on July 25, 2017:%s/somematch/tosomeothermatch/g
:%s/somematch/tosomeothermatch/g
Say you wanted to domain.com/2011 to www.newdomain.com <VirtualHost *:80> ServerName domain.com Redirect /2011 http://www.newdomain.com </VirtualHost>