terminal help

fuzz

Registered
I was trying to set up a webdav server on my powerbook and it's been a long time since i've done unix type stuff.

i typed:

sudo vim /etc/httpd/httpd.conf

and i want to get out ...I know that ctrl-z suspends but how do I exit without saving what i've done?

btw, where can i find a reference on how to use vi or vim or emacs?

thanks
 
press the shift and : keys, then type qa! at the :
and it will quit without making any changes to the file.

~
~
~
~
~
~
~
~
~
~
~
~
~
~
:qa!

now type man vim to veiw the man pages for vim
 
thanks! i got a webdav server working on my powerbook! so i can publish my iCal. I don't have a static IP so it only works for the local network which is fine. My intent is to set up the webdav so that I can use the Workgroup feature in Adobe Illustrator.

i feel like i've driven from work to home blindfolded (b/c i'm not much of a command line person) ... what a sensation haha ... hey maybe i can drive a few more miles to the grocery store.
 
Back
Top