Home » questions » How do you edit a read-only file in Vi ?
How do you edit a read-only file in Vi ?
My references only say that I should save it using :w! but I keep getting the message "Cant open file for writing".
Its a permissions issue but I am able to open the file and read it.

Answers
str0ngsad
On 2006-08-07 09:38:27
Bryan A
On 2006-08-07 09:37:02
mike_w40
On 2006-08-07 09:35:38
John J
On 2006-08-07 09:55:07
moviedhamaka
On 2006-08-07 09:36:52