Solved

error linux

Posted on 2014-02-25
7
157 Views
Last Modified: 2014-10-15
E37: No write since last change (add ! to override)
0
Comment
Question by:thomasliju
[X]
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
7 Comments
 
LVL 68

Expert Comment

by:woolmilkporc
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
0
 
LVL 48

Expert Comment

by:Tintin
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:

:q!

If you want to save the changes, do:

:wq
0
 
LVL 13

Accepted Solution

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

TY/SA
0
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

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

Expert Comment

by:woolmilkporc
ID: 39892330
.. or :x
0
 
LVL 62

Expert Comment

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

Author Closing Comment

by:thomasliju
ID: 40383679
the shortcut key helped.

Thank you.
0

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. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ 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