• Is it the command "open" that is the problem?

    Have you tried: sudo vi /etc/hosts
    ?

    BTW, if that works, then to exit it is: :q
    Which is a colon and then a q.

About

Avatar for Velocio @Velocio started