error linux

Posted on 2014-02-25
Last Modified: 2014-10-15
E37: No write since last change (add ! to override)
Question by:thomasliju
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 68

Expert Comment

ID: 39887238
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
LVL 48

Expert Comment

ID: 39887245
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:


If you want to save the changes, do:

LVL 13

Accepted Solution

Sandy earned 500 total points
ID: 39888018
:wq! => save the file and quit forcefully.
:q! => Without save and quit forcefully

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

LVL 30

Expert Comment

ID: 39891040
In command mode ZZ will also save & quit.
LVL 68

Expert Comment

ID: 39892330
.. or :x
LVL 62

Expert Comment

ID: 39898818
:w! -> make it overwrite unwritable file

Author Closing Comment

ID: 40383679
the shortcut key helped.

Thank you.

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. Please see for the updated article. It is avail…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question