Skip to content

Instantly share code, notes, and snippets.

@ephrin
Last active August 29, 2015 14:25
Show Gist options
  • Select an option

  • Save ephrin/8998c56b58b78fb6a9d6 to your computer and use it in GitHub Desktop.

Select an option

Save ephrin/8998c56b58b78fb6a9d6 to your computer and use it in GitHub Desktop.
echo sudo --append tee
printf "\n127.0.0.1 example.com" | sudo tee --append /etc/hosts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment