There are three types of Command in Vi: 1. Command Mode: It is the first screen of the Vi editor. Here you can use the Vi Shortcuts to navigate, delete, copy, paste, and do other tasks except entering the text 2. Insert Mode: Press “I” to enter the insert mode. Here you can enter the text. 3. Escape Mode: Press “:” to enter the escape mode. Use this mode to save files and execute the commands.