My computer will be shared for a couple of weeks and there are certain websites that i need to block... Let's say i want to block facebook, heres what i did:
Opened up terminal, then typed 'sudo nano /etc/hosts'
Added '127.0.0.1 facebook.com' on the bottom, having them separated with TAB instead of spaces
Pressed ctrl+o and enter to save the file, then ctrl-x to quit the nano thing.
Then i typed 'dscacheutil -flushcache' for changes to immediatelly take place
Quit terminal
Am i doing something wrong here? I can still open facebook.com in Opera after those steps.... Am i missing something?
Opened up terminal, then typed 'sudo nano /etc/hosts'
Added '127.0.0.1 facebook.com' on the bottom, having them separated with TAB instead of spaces
Pressed ctrl+o and enter to save the file, then ctrl-x to quit the nano thing.
Then i typed 'dscacheutil -flushcache' for changes to immediatelly take place
Quit terminal
Am i doing something wrong here? I can still open facebook.com in Opera after those steps.... Am i missing something?