Linux and Nagios‎ > ‎

Vi Find and Replace Example

posted 12 Jun 2011, 07:14 by Tristan Self
Here is an example of find and replace with VI, this will replace every instance of the "findthistext" string in the file with "replacewithtext". Neat saves lots of typing!

:%s/findthistext/replacewithtext/g
Comments