Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

error linux

Posted on 2014-02-25
7
Medium Priority
?
177 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 2000 total points
ID: 39888018
:wq! => save the file and quit forcefully.
:q! => Without save and quit forcefully

TY/SA
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 31

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month12 days, 12 hours left to enroll

971 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