Solved

error linux

Posted on 2014-02-25
7
151 Views
Last Modified: 2014-10-15
E37: No write since last change (add ! to override)
0
Comment
Question by:thomasliju
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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
LVL 29

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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SonarQube on Linux vs Windows 3 53
android secure ftp 3 52
capture vmstat info and insert it into an oracle table 31 38
LogmeIn using Linux Ubuntu 16.04 6 64
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

830 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