mbm wrote:
sudo vi file-to-edit works for me :-)
I was trying to write up some instructions for our internal wiki, and where possible I try to make them as copy+pastable as possible. Writing instructions to make changes to key system files ought to be less reliable that writing good script-like instructions, but of-course that only works if the writer doesn't make basic errors themselves...