Without saving changes

To quit vi without saving the contents of the buffer to the file:

   :q!

[Home] [Search] [Index] This site maintained by unixhelp@ed.ac.uk