Another editor that is found on most UNIX systems is emacs . The vi is also called a mode editor. This means it has different operating modes. Text input mode is the mode used to add text to a file. Anything you type in this mode goes into the file.
Command mode is the mode used to give commands.
Anything you type in command mode is a command. For example, you can save the file, quit vi , search the text and son on using commands. To switch from input mode to command mode, pres the Escape key. There are several commands to switch from command mode to input mode. Starting a vi session To start vi , type vi at the command prompt and press Enter.