how to use vi to edit file code example Example: linux vi Use Vim instead of Vi. Vim is easier to use.