'Permission denied in Android terminal Emulator

i always get permission denied when i open the android terminal emulator? I want to change the hosts for android , but I cant because the permission denied ? How can I fix it ?

I want to change the host to point on another pc so i see the request there and check if there the service is from a mobile device so i can reroute it to mobile page



Solution 1:[1]

The android on board "toolbox" shell has a limited vocabulary of errors, and likes to go give the permission denied one for all sorts of causes, such as command not found.

It also has a rather limited assortment of commands, some of which do not take formats familiar from the desktop linux world.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Chris Stratton