vi in UNIX

In order to launch text editor, vi command is used.
Syntax:
vi [options] [files]

optionsusage
-ccommandLaunch vi and execute the command in vi.
-lEdit a LISP file.
-LLists all files that were saved due to an editor or system crash.
-rfileRecover and open file after an editor or system crash.
-RRead-only.
+Position on last line of file in vi.
+nPosition on n line of the file in vi.

Example:
vi + forgetcode