View Single Post
Old 02-22-2006, 05:41 PM  
High Plains Drifter
Confirmed User
 
High Plains Drifter's Avatar
 
Join Date: Jun 2005
Location: ♠ ♣ ♥
Posts: 2,341
depending on your version of vi, it won't save to readonly file with ZZ. Like the other dude said use

:wq!

colon - enter command
w - save file
q - quit
! - force save if file is readonly
__________________
High Plains Drifter is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote