how to save any changes in vi editor
#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:
- add description to commit git
- how to download youtube video in linux
- how to install vue in laravel
- set feh wallpaper
- find process id of port ubuntu
- how to make your own linux distro
- how ot get android notifications i ubuntu
- sed replace in file
- git push existing code to new repository
- host key verification failed
- command to know disk ussage in ec2 instance
- pip install kivy error
- pull old version git
- start-process id powershell
- check ubuntu version cmd
- sudo msys2
- view git stash without applying
- mysqldump
- how to push force git
- how to open port by fuser
- undo last commit
- réinstaller interface graphique debian
- what does pro mean in github
- Running modprobe bridge br_netfilter failed with message: ip: can't find device