What is vi?

The default editor that comes with the UNIX operating system is called vi (visual editor). [Alternate editors for UNIX environments include pico andemacs, a product of GNU.]

* vi filename edit filename starting at line 1
vi -r filename recover filename that was being edited when system crashed

Note: The cursor moves to bottom of screen whenever a colon (:) is typed. This type of command is completed by hitting the <Return> (or <Enter>) key.

Continue reading »