If you want to quit the vi program without saving any of the changes you made to your file, you can type in command mode:

If you want to quit the vi program without saving any of the changes you made to your file, you can type in command mode:Category: Introduction to Linux IIf you want to quit the vi program without saving any of the changes you made to your file, you can type in command mode:
Linux Questions Staff asked 1 year ago

If you want to quit the vi program without saving any of the changes you made to your file, you can type in command mode:

  • :a
  • :Q
  • :s
  • :q!

About the author