how to save any changes in vi editor
Shell
#save changes in vi editor
by press i you can `Insert` anything. After finshing changes then press :(colon)
and type wq!
syntex : wq!
Explanation : The ex mode is an extension of command mode. To get into it,
press Esc and then : (the colon).
The cursor will go to the bottom of the screen at a colon prompt.
Write your file by entering :w and quit by entering :q.
You can combine these to save and exit by entering :wq.
However, if you're finished with your file, it's generally more convenient to type Shift-z-z from command mode.
Also in Shell:
- Title
- git delete last commit in remote
- Category
- Shell
- Title
- remove all iptables rules
- Category
- Shell
- Title
- linux unzip with password
- Category
- Shell
- Title
- scp send file
- Category
- Shell
- Title
- ubuntu add user to group
- Category
- Shell
- Title
- powershell bulk rename and add extra string to filename
- Category
- Shell
- Title
- git change git commit date
- Category
- Shell
- Title
- composer install without dependencies
- Category
- Shell
- Title
- search for files in linux terminal
- Category
- Shell
- Title
- FATAL module ucvideo not found
- Category
- Shell
- Title
- job('DSL-Tutorial-1-Test') { scm { git('git://github.com/quidryan/aws-sdk-test.git') } triggers { scm('H/15 * * * *') } steps { maven('-e clean test') } }
- Category
- Shell
- Title
- boolean constants in bash
- Category
- Shell
- Title
- free port in linux
- Category
- Shell
- Title
- git remove from from repo and stop tracking
- Category
- Shell
- Title
- ubuntu logout
- Category
- Shell
- Title
- how to put files into gitignore
- Category
- Shell
- Title
- how to install new gatsby project locally
- Category
- Shell
- Title
- conda install keras
- Category
- Shell
- Title
- zip current directory mac command line
- Category
- Shell
- Title
- lvm resize ext4
- Category
- Shell
- Title
- maven install on mac os x
- Category
- Shell
- Title
- create a docker file
- Category
- Shell
- Title
- bazel instal
- Category
- Shell
- Title
- bash create file
- Category
- Shell
- Title
- numpy uninstall anaconda
- Category
- Shell
- Title
- install redux-thunk
- Category
- Shell
- Title
- list all files in a directory and subdirectory linux
- Category
- Shell
- Title
- fleet management software github
- Category
- Shell
- Title
- install telnet windows server 2012
- Category
- Shell
- Title
- composer install ignore platform reqs
- Category
- Shell
- Title
- How do I show the changes which have been staged
- Category
- Shell
- Title
- git tag checkout
- Category
- Shell
- Title
- change user linux
- Category
- Shell
- Title
- git checkout someone else's branch
- Category
- Shell
- Title
- linux rsync example
- Category
- Shell
- Title
- npm install bootstrap 3.3.7
- Category
- Shell
- Title
- how to add image in github readme
- Category
- Shell
- Title
- how to pip install in folder
- Category
- Shell
- Title
- circleci skip
- Category
- Shell
- Title
- docker exc into mongo shell
- Category
- Shell
- Title
- linux command print only odd columns
- Category
- Shell
- Title
- show all processes linux
- Category
- Shell
- Title
- ubuntu dns server
- Category
- Shell
- Title
- bash for loop
- Category
- Shell
- Title
- delete github repository git bash
- Category
- Shell
- Title
- how to undo makemigrations django
- Category
- Shell
- Title
- linux red hat version
- Category
- Shell
- Title
- fish shell script parent directory multiple dots
- Category
- Shell
- Title
- install bootstrap 4 npm
- Category
- Shell
- Title
- intel pinning threads
- Category
- Shell
- Title
- mkdir multiple directories
- Category
- Shell
- Title
- simple nodejs dockerfile
- Category
- Shell
- Title
- set feh wallpaper
- Category
- Shell
- Title
- How to revert uncommitted changes including files and folders?
- Category
- Shell
- Title
- bash edit prompt display appearance
- Category
- Shell
- Title
- converter mp3 para kali linux
- Category
- Shell
- Title
- what is git rebase
- Category
- Shell
- Title
- Why are there two ways to unstage a file in Git?
- Category
- Shell
- Title
- terminal line break mac
- Category
- Shell
- Title
- powershell download a file from url
- Category
- Shell
- Title
- ubuntu terminal get version
- Category
- Shell
- Title
- edit branch name git
- Category
- Shell
- Title
- linux replace string in files recursively
- Category
- Shell
- Title
- install mariadb-server rpm
- Category
- Shell
- Title
- how to install wordpress ubuntu 16.04 rosehosting
- Category
- Shell
- Title
- Error: Node Sass does not yet support your current environment
- Category
- Shell
- Title
- install jupyter homebrew
- Category
- Shell
- Title
- resolv conf linux is being overwritten centos 7
- Category
- Shell
- Title
- how to execute a file in ubuntu by double click
- Category
- Shell
- Title
- linux check ubuntu version
- Category
- Shell
- Title
- add git user and email
- Category
- Shell
- Title
- ubuntu delete all virtual hosts
- Category
- Shell
- Title
- process runninng on particular port
- Category
- Shell
- Title
- install pip ubuntu
- Category
- Shell
- Title
- terminal how to find a directory
- Category
- Shell
- Title
- how to install cab file in ubuntu
- Category
- Shell
- Title
- how to add extension to all files terminal
- Category
- Shell
- Title
- generate ssh key paitr
- Category
- Shell
- Title
- delete github repository without browser
- Category
- Shell
- Title
- Documentazione relativa a Sottosistema di Windows per Linux
- Category
- Shell
- Title
- how to uninstall rust
- Category
- Shell
- Title
- install node ubuntu
- Category
- Shell
- Title
- how to install nvm in mac
- Category
- Shell
- Title
- ubuntu chmod codes
- Category
- Shell
- Title
- ubuntu install git
- Category
- Shell
- Title
- cmd for loop
- Category
- Shell
- Title
- how to install rclone as service on windows
- Category
- Shell
- Title
- linux df -h levels occupy
- Category
- Shell
- Title
- how to get application guid powershell
- Category
- Shell
- Title
- apt uninstall
- Category
- Shell
- Title
- navigate to a directory linux
- Category
- Shell
- Title
- dns_probe_finished_nxdomain linux ubuntu
- Category
- Shell
- Title
- run tar.xz ubuntu
- Category
- Shell
- Title
- install react yarn
- Category
- Shell
- Title
- ubuntu run multiple commands in one line and let them run after close shell
- Category
- Shell
- Title
- remove yum package
- Category
- Shell
- Title
- linux find files multiple
- Category
- Shell
- Title
- ubuntu list users
- Category
- Shell
- Title
- list user groups linux
- Category
- Shell
- Title
- git remove Untracked files
- Category
- Shell