Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 191
  • Last Modified:

error linux

E37: No write since last change (add ! to override)
0
thomasliju
Asked:
thomasliju
1 Solution
 
woolmilkporcCommented:
You tried to leave the vi  / vim editor with "q" despite of the fact that you made changes to the file you opened.

You have 2 options:

- enter "q!" to quit and discard the changes

- enter "wq!" to save the changes and quit
0
 
TintinCommented:
That message means you are trying to quit the vi editor without saving changes to the file.

If you want to quit without saving, do:

:q!

If you want to save the changes, do:

:wq
0
 
SandyCommented:
:wq! => save the file and quit forcefully.
:q! => Without save and quit forcefully

TY/SA
0
A proven path to a career in data science

At Springboard, we know how to get you a job in data science. With Springboard’s Data Science Career Track, you’ll master data science  with a curriculum built by industry experts. You’ll work on real projects, and get 1-on-1 mentorship from a data scientist.

 
serialbandCommented:
In command mode ZZ will also save & quit.
0
 
woolmilkporcCommented:
.. or :x
0
 
gheistCommented:
:w! -> make it overwrite unwritable file
0
 
thomaslijuAuthor Commented:
the shortcut key helped.

Thank you.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Build your data science skills into a career

Are you ready to take your data science career to the next step, or break into data science? With Springboard’s Data Science Career Track, you’ll master data science topics, have personalized career guidance, weekly calls with a data science expert, and a job guarantee.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now