$ sudo nano /private/etc/hosts
If it does not take your password, which may not vibe visible when you type it, I can only suggest that it is wrong
P
I have been trying to edit files with Terminal. I access with sudo -s but when I'm prompted to use password the window will NOT take my password(won't type it) and I've tried for 3 days. I'm using OSX 10.8. I've used macs for years but I'm not that familiar with the inner workings.
HELP!

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic