adding character begin and end in vi code example Example: linux vi Use Vim instead of Vi. Vim is easier to use.