[SATLUG] vi editor

Chris Hudson chrishudson at gmail.com
Tue Sep 13 15:09:49 CDT 2011


If you made changes to the file, then you need to either save (write) them
when you exit (:wq), or else exit without saving changes (:q!).  You would
do the :q when you were just viewing a file but didn't make any changes.


 --Chris Hudson


On Tue, Sep 13, 2011 at 3:05 PM, Rick Gray <rlgray at live.com> wrote:

>
> greetings all,
>
> I'm a new student to Linux, using Fedora 14.  One of our assignment in
> class was to familiarize ourselves
> with the vi editor.  I had no problem getting in and creating a letter, but
> once I tried to leave with the shift semicolon
> and typed 'q' enter to quit. it would not leave or save the file.  I think
> the q command is some other kind of
> command I don't understand.  Could use a little professional help.
>
> Thx
> Rick Gray
> St Philips Student
>                                          --
> _______________________________________________
> SATLUG mailing list
> SATLUG at satlug.org
> http://alamo.satlug.org/mailman/listinfo/satlug to manage/unsubscribe
> Powered by Rackspace (www.rackspace.com)
>


More information about the SATLUG mailing list