Thank you, that did work. Sorry I was tired and I read the book wrong, should have found out but I didn't. If I want to work with vim do I have to open it like that: "terminal$ sudo vim" or do I have to become root and open it once I am root?  If I have to become root how do I do that? Is it my user password or another? Sorry I didn't try it yet, just learning.
<br>Thank you<br>Megan<br><br><br><div><span class="gmail_quote">On 10/5/07, <b class="gmail_sendername">Brian McKee</b> <<a href="mailto:brian.mckee@gmail.com">brian.mckee@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
RE your problems with vim<br><br>1 - Make sure you started it with sudo.<br><br>2 - It's q! not !q<br><br>If you open the file and change something, vim won't quit unless you<br>either save it (with :w) or tell it you really want to quit (with q!)
<br><br>If you aren't root, it can't save it, so it still won't quit after you<br>try that.  And !q means 'run a program called q'  not 'quit now!'<br><br>Brian<br><br>--<br>ubuntu-users mailing list
<br><a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
</a><br></blockquote></div><br>