Try this, after editing your file, quit with this command: wq!
. the ! means force the process, and when you combine it with wq that means force to save and quit.
Related Posts:
- How to open the terminal in Atom?
- ping: google.com: Temporary failure in name resolution [closed]
- Docker System has not been booted with systemd as init system
- CentOS vs. Ubuntu [closed]
- “Couldn’t find a file descriptor referring to the console” on Ubuntu bash on Windows
- Docker error : no space left on device
- How to establish ssh key pair when “Host key verification failed”
- How to make vim paste from (and copy to) system’s clipboard?
- localhost/phpinfo.php
- After installing with pip, “jupyter: command not found”
- gpg: no valid OpenPGP data found
- gpg: no valid OpenPGP data found
- E: Unable to locate package mongodb-org
- How to use vim in the terminal?
- How to use vim in the terminal?
- Valgrind permission denied on file
- nginx – nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
- How to install Boost on Ubuntu
- How to verify if nginx is running or not?
- pdflatex not found. pdflatex is needed for pdf output
- Nginx: stat() failed (13: permission denied)
- PIP Could not find any downloads that satisfy the requirement SQLAlchemy
- MySQL: How to reset or change the MySQL root password?
- Removing all installed OpenCV libs
- Why can’t I print to terminal with my python script?
- How to kill a process on a port on ubuntu
- whats the meaning of curl “-s” and “-m”
- How do I ask apt-get to skip any interactive post-install configuration steps?
- How to view all ssl certificates in a bundle?
- How to remove the “installed manually” flag and revert to “automatically installed” with apt-get?
- How do I get apt-get to ignore some dependencies?
- How do I auto-start docker containers at system boot?
- How do I reattach to Ubuntu Server’s ‘do-release-upgrade’ process?
- How to determine JAVA_HOME on Debian/Ubuntu?
- How to start/stop iptables on Ubuntu?
- Which ports do I need to open in the firewall to use NFS?
- list all packages from a repository in ubuntu / debian
- dpkg-reconfigure: unable to re-open stdin: No file or directory
- How can I edit the welcome message when ssh start?
- How does Ubuntu keep track of the “System restart required” flag in motd?
- Amazon Linux vs. Ubuntu for Amazon EC2 [closed]
- Automate the installation of postfix on Ubuntu
- Best location to keep SSL certificates and private keys on Ubuntu servers?
- Why is ssh agent forwarding not working?
- :wq! command in vim
- How to open a “-” dashed filename using terminal?
- How to change background color in the Notepad++ text editor?
- How do I pause my shell script for a second before continuing?
- How to view Plugin Manager in Notepad++
- How do I exit the Vim editor?
- Cannot connect to the Docker daemon at unix:/var/run/docker.sock. Is the docker daemon running?
- How to view Plugin Manager in Notepad++
- How to execute a program or call a system command?
- What is newline character — ‘\n’
- ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: YES)
- Git is not working after macOS Update (xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)
- Undefined function mysql_connect()
- ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: YES)
- Git is not working after macOS Update (xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)
- How to find which version of TensorFlow is installed in my system?
- Undefined function mysql_connect()
- ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: YES)
- How to get the list of all installed color schemes in Vim?
- error: command ‘gcc’ failed with exit status 1 while installing eventlet
- error: command ‘gcc’ failed with exit status 1 while installing eventlet
- apt-get error: Sub-process /usr/bin/dpkg returned an error code (1)
- What is a clearfix?
- How can I completely uninstall nodejs, npm and node in Ubuntu [closed]
- Where is my .vimrc file?
- What does export PS1=”\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$ ” mean in MacOS’ bash Terminal?
- How to install python3 version of package via pip on Ubuntu?
- How do I execute a bash script in Terminal?
- error: ‘Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)’ — Missing /var/run/mysqld/mysqld.sock
- Why does the terminal show “^[[A” “^[[B” “^[[C” “^[[D” when pressing the arrow keys in Ubuntu?
- error: ‘Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)’ — Missing /var/run/mysqld/mysqld.sock
- What does the Pydoc module do?
- How to set default vim colorscheme
- “E: Unable to locate package python-pip” on Ubuntu 18.04 [duplicate]
- Why is the apt-get function not working in the terminal on Mac OS X v10.9 (Mavericks)?
- Terminal error: zsh: permission denied: ./startup.sh
- E: unable to locate package pip
- How to solve “Kernel panic – not syncing – Attempted to kill init” — without erasing any user data
- “E: Unable to locate package python-pip” on Ubuntu 18.04 [duplicate]
- How to switch Python versions in Terminal?
- How can I quickly delete a line in VIM starting at the cursor position?
- Node Version Manager install – nvm command not found
- How to install “make” in ubuntu?
- “sed” command in bash
- How to reload .bashrc settings without logging out and back in again?
- How to copy to clipboard in Vim?
- mvn command not found in OSX Mavrerick
- What does ^M character mean in Vim?
- How to restart remote MySQL server running on Ubuntu linux?
- Ubuntu: OpenJDK 8 – Unable to locate package
- How to print colored text to the terminal
- Autocompletion in Vim
- using pip3: module “importlib._bootstrap” has no attribute “SourceFileLoader”
- Failed to start mongod.service: Unit mongod.service not found
- WSL – GEDIT Unable to init server: Could not connect: Connection refused
- How to tell if tensorflow is using gpu acceleration from inside python shell?