Vi is present on any Unix installation and it is therefore useful to know some basic
commands. There are two modes: command mode and insertion mode. The commands mode is
accessed with [ESC], the insertion mode with i.appending mode with a .
Quit
:w
newfilename save the file to newfilename
:wq or :x
save and quit
No comments:
Post a Comment