Member Since: Jul 30, 2008
Mac Specs: Macbook Pro 2.0 I7, Macbook Pro 2.4Ghz 15, Macbook 2.16Ghz, Imac 3.2GHz 21.5, Macbook Pro 13 2.23Ghz
08-26-2008, 04:43 PM
Originally Posted by BlackOut117
I'm trying to edit my etc/hosts file, but I just can't seem to be able to do it. I go into terminal, and type "sudo etc/hosts" and then it asks me for my password. I assume it means the same password it asks for when I install stuff, but the problem is I can't type anything in. The keyboard is unresponsive when I'm trying to type it in, and the only button that works is enter, which earns me a "sorry, try again" message.
Does anybody know what's wrong? Can anybody help me?
Well let's see
sudo is not an editor it is used to get root access
and etc/hosts is an invalid path
shad-macbook-pro:~ shad$ sudo su
sh-3.2# nano /etc/hosts
Help is on the way a government team of experts Is a'rushin' to your aid... -- Stephen Stills
08 MB, 08 MBP, 010 MBP, 010 Imac, 011 MBP