vim&visudo
Insert mode
Command line mode
Save your changes (write):
:wQuit out of vim:
:qQuit without saving changes:
:q!You can also combine commands to run them together.
:wqCTRL-R to redo
Save your changes (write):
:wQuit out of vim:
:qQuit without saving changes:
:q!You can also combine commands to run them together.
:wqCTRL-R to redo