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 |
Linux and Nagios >
|
Linux and Nagios >
Vi Find and Replace Exampleposted 12 Jun 2011, 07:14 by Tristan Self
|