I'm trying to edit /etc/hosts using Vi in Cygwin but it's read only. Is there a command similar to sudo? How do I edit a read-only file?
Thanks
|
I'm trying to edit /etc/hosts using Vi in Cygwin but it's read only. Is there a command similar to sudo? How do I edit a read-only file? Thanks | ||||
|
feedback
|
|
Try doing a forced overwrite. Instead of | |||||||
feedback
|