To perform a global search and replace in vi editor, use the search and replace command in command mode: Full article (117 words) »