Help with basic commands in vi
Hi:I'm just starting to learn how to use vi and to edit the httpd.conf file.
A few "dumb" questions:
-How do I save the changes and quit? I looked this up on the net, and sees type ":w", but where would I type this? How does vi know I'm not trying to enter :w literally, rather than a command?
-After changing/saving, do I have to restart Apache for the changes to take effect?
-Is there a a better default tool than vi for editing files in shell?
Thank you