I used the one from:
Blocking Unwanted Parasites with a Hosts File
and it's working well. One point though: if ^M characters at the end of the line bug you (they bug me!), then you can remove them with:
[CODE]cat file1 | sed s/.$//g >> file2[/CODE]
This is a workaround since it appears that the Linux flavor running on the Pre doesn't let you enter <Ctrl-V><Ctrl-M> to produce the ^M. I also received a segfault when trying to read in the new file (:r) in vi.
Also don't forget to append your new hosts file to your old one (>>) and remove the duplicate "127.0.0.1 localhost" line from the appended file.