I'm unable to save hosts file after adding websites to block,as well as unable to flush cache. I am not a techie, just researching on the web, and trying to follow directions for terminal and Text Edit. Did the problem start here (this is how text edit opened):
localhost is used to configure the loopback interface when the system is booting. Do not change this entry.
It lacked a computer name (I don't have one; this is evident in the System Preferences > Internet and Network Sharing > Computer Name field being empty.) and the "fe80::1%lo0 localhost" line.
"Couldn't Save The file 'hosts' is read=only. Attempt to overwrite?" > Click "Overwrite" > "Couldn't Save Couldn’t save document as “hosts” in folder “etc”.
This is a PowerPC G4 running Tiger (OSX 10.4.11).