Recently, I read here about the :wq!
command in vim. I don't understand how it can force-write a file without write permissions. This way, theoretically, one would be able to edit root files without permission. Shouldn't it be disallowed? Or does it write into a new file?
I saw a similar question, but that is about motions and is very different.
P.S. I haven't tried the command for fear of messing up system files.