Linux
1. Open a terminal window.
2. Open the hosts file in a text editor (you can substitute any text editor):
sudo leafpad /etc/hosts
3. Enter your password.
4. Make the necessary changes to the hosts file.
http://someonewhocares.org/hosts/
http://winhelp2002.mvps.org/hosts.htm