Updating vista hosts file

Rated 3.85/5 based on 929 customer reviews

You can change in the hosts file directly through the terminal on In Ubuntu 10.04 and most Linux distros.You can use your favored editor or even open your favorite GUI text editor.notepad c:\windows\system32\drivers\etc\hosts STEP 3: When notepad is open you can edit the hosts file. To block Facebook just enter following the line after the # mark in the hosts file. 4: Now you have edited your Hosts file and save it.You will get a message saying you do not have permission to save in this location.In order to edit it, you have to click on Start, type in Notepad and then right-click on Notepad and choose Run as Administrator.By default, you cannot see these hidden folders since they are system folders.

If you do use the default notepad application then you will need to run notepad as the Administrator user which will allow you to modify the hosts file.

For most needs, you will just need to edit it the top section and ignore the IP6. Just like in windows we will see that we can’t get to the page.

STEP 1: In Mac OS X, editing the hosts file is similar to Ubuntu.

Now navigate to the drivers/etc folder again and make sure to choose All files for File Types, otherwise you won’t see the HOSTS file.

Make your changes to the HOSTS file and click File and Save to save all changes.

Leave a Reply