

When you first open a file with vi, you are in Command mode. The vi editor has two modes: Command and Insert.

At the command line, you type vi to either create a new file, or to edit an existing one. Note: vi is often a symbolic link to vim (vi Improved) or an alias to vim. You can use it to edit configuration files, create a grocery list, write a letter home to ask for money, create a new script, or even to edit source code. This advanced, yet simple to use, command line editing program shows no sign of slowing down. Gray at the temples and in need of reading glasses, the 43-year-old vi (pronounced vee-eye) editor is still a system administrator’s best friend.
