Article 5BH8J help with vi

help with vi

by
Alok Rai
from LinuxQuestions.org on (#5BH8J)
Am trying to learn vi but seem to have come up with an initial problem.
I have been following a ryanstutorial about learning bash, and I also have a Linux in easy steps, by Mike McGrath at hand.

I am using Linux Mint 19 XFCE.

I am able to insert text. But when I try and save and exit, I run into problems with all the different commands that I can find in my two sources. Thus:

ZZ produces the message E212: Can't open file for writing
[ctrl] x produces the same message
:qa brings up the messages E37: No write since last change
and E212 - ditto - for buffer "test"
:qa! takes me out of vi and back to the shell prompt
:w - which I found in McGrath, is no help either.

This is probably something very elementary. But, at my level of skill, insurmountable.latest?d=yIl2AUoC8zA latest?i=1RQndoTAbrg:DWHRdmytlFc:F7zBnMy latest?i=1RQndoTAbrg:DWHRdmytlFc:V_sGLiP latest?d=qj6IDK7rITs latest?i=1RQndoTAbrg:DWHRdmytlFc:gIN9vFw1RQndoTAbrg
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments