Activities

October 2009
M T W T F S S
« Aug   Nov »
 1234
567891011
12131415161718
19202122232425
262728293031  

VI command for find and replace

Hello,

This is most suitable commands which help us to replace the string with our occurrence. This is the same feature of “Find and replace ” in windows 🙂

open the file to be edit $ vi strings.txt a. then press “Esc” :%s/find-string/replace-string/g Then press enter then press Esc key and “ZZ” key to […]