Comment Comment by simoncion > This is honestly the command I ranMmm. Unless your /etc/hosts is wide open or your shell is running as root, you got something like -bash: /etc/hosts: Permission denied because the way to do what you intended is to sudo 'tee' or something similar in function. AFAIK, you can't 'sudo' shell redirection. parent simoncion 2 months ago
Mmm. Unless your /etc/hosts is wide open or your shell is running as root, you got something like
because the way to do what you intended is to sudo 'tee' or something similar in function. AFAIK, you can't 'sudo' shell redirection.