How to Unblock Facebook With Ubuntu

By Daniel Hatter

You can block or unblock any website with the Hosts file.
i Images

One of the built-in administrative control features of Ubuntu is the ability to block websites from within the operating system. This can be useful, especially if you don't want your children to have access to certain websites. If you or someone else blocked the Facebook website on your Ubuntu computer, you always have the ability to unblock it. Use the Hosts file in Ubuntu to block and unblock websites.

Step 1

Press "Ctrl-Alt-T" to open a Terminal window.

Step 2

Type "gksu gedit /etc/hosts" into the Terminal window (omit the quotes) and press "Enter." The Hosts file will now open up in the Gedit program.

Step 3

Scroll through the lines of text in the file until you find the line that contains the text "" Delete the entire line, including the "" at the beginning.

Step 4

Open the "File" menu and click "Save" to save the file. Close the file; Facebook is now unblocked.