Vi Search and Replace

:%s/search_string/replacement_string/g

‘g’ stands for global, not sure what other parameters you can place there.

Posted Wednesday, October 21st, 2009 under Computers, Linux.

Leave a Reply