Most people who are getting started with Linux or UNIX today already know how to use graphical WYSIWYG (what you see is what you get) editors, with heavy use of the mouse, icons and pull-down menus.
To exit vi or vim without saving changes, press Esc a few times to enter Command mode, then type :q! and hit Enter. To exit vi or vim and commit your changes, press the Escape key to ensure you're in ...