zsh: permission denied: /etc/hosts

226 Views Asked by At

While i try to intrude the port 80, i have to navigate to the host file located in /etc/hosts but as i enter the command /etc/hosts, it shows permission denied.

Firstly i wrote the command curl -I htttp://x.x.x.x after that to access the backend server, my domain must be added to a list of trusted hosts but there i am facing this problem.

i was expecting to have the access to the website which displays nothing more than the most basic of information, but i didn't got the expected results.

0

There are 0 best solutions below