How To Do Basic Editing With Vi
Think you can do better? Show us!
On nearly every Linux system, the text editor “vi” is available and an integral part of changing config files on the fly. Often, it’s the only text editor available. Unfortunately, it’s also one of the most misunderstood text editors. In this Snip, Ken will show you how to look like you know what you’re doing with vi. He’ll do this by teaching us how to create new files with the text editor, edit files, how to navigate files, find specific words, and even to do a global replace all occurrences of a word. Want to know how to exit vi without saving changes? He’ll cover that too.