/etc/hosts不是一个可执行文件,如果像查看文件内容
sudo cat /etc/hosts
ls 的–l参数感觉你的横杠有问题,要用英文半角的横杠
ls -l /etc/sudoers
下次直接ll ll = ls -l