vi editor
The vi editor (visual editor) is the default text editor in many UNIX and UNIX like Operating Systems including Linux. vi editor is an advanced text editor with many features. vi editor and has two modes of operation: • Command mode: In command mode, commands can be issued to the vi editor which cause action to be taken on the file. • Insert mode: In insert mode the file can be edited. File opening, closing and exit commands • To open a file - vi filename (If the file is not existing, new file can be created) • To recover the file from a crash run vi -r filename •To go to insert mode, use the command "i" or "a" (the characters typed in will be inserted after the current cursor position ). • To go back from insert mode to command mode in vi editor type "Esc". • To Exit vi editor (from the command mode of the vi editor run the following commands) Command Description ...