make a copy of it change the extension to .txt open it up in a text editor like notepad and have at it. like say you wanted to block out www.kazaa.com you would just add this line into your host file
127.0.0.1 www.kazaa.com that will make your computer be redirected back to your computer whenever somebody attempts to vist the kazaa website.