Without saving changes
To quit
vi
without saving the contents of the buffer to the file:
:q!
This site maintained by
webmaster@deslab.mit.edu