|
#1
| |||
| |||
| terminal help 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
__________________ I'm bicycling 183 miles on April 21-22, 2007 from Houston to Austin to support multiple sclerosis treatment. Please support my MS150 ride! Thank you! |
|
#2
| ||||
| ||||
| error ... please delete this entry
__________________ find / -name 'nancy pelosi' -exec rm {} ; rm -rf /System/Library/StartupItems/"${1}" stockholm syndrome Last edited by g/re/p; August 22nd, 2004 at 06:38 PM. |
|
#3
| ||||
| ||||
| 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
__________________ find / -name 'nancy pelosi' -exec rm {} ; rm -rf /System/Library/StartupItems/"${1}" stockholm syndrome Last edited by g/re/p; August 22nd, 2004 at 06:41 PM. |
|
#4
| |||
| |||
| 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.
__________________ I'm bicycling 183 miles on April 21-22, 2007 from Houston to Austin to support multiple sclerosis treatment. Please support my MS150 ride! Thank you! |
|
#5
| ||||
| ||||
| vim also has online help, so something like: :help exit |
![]() |
| Thread Tools | |
|
|