Skip to content

Instantly share code, notes, and snippets.

@pyetras
Created January 11, 2010 18:45
Show Gist options
  • Save pyetras/274463 to your computer and use it in GitHub Desktop.
Save pyetras/274463 to your computer and use it in GitHub Desktop.
cp /etc/hosts /etc/hosts.backup &&
for h in $( echo 'blip.pl
flaker.pl
ign.com
joemonster.org
jogger.pl
onet.pl
polygamia.pl
wyborcza.pl' )
do
echo "127.0.0.1 ${h}"
done >> /etc/hosts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment