Skip to content

Instantly share code, notes, and snippets.

@cfree

cfree/hup.sh Secret

Created April 12, 2015 05:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cfree/73920db64732a9be7d5a to your computer and use it in GitHub Desktop.
Save cfree/73920db64732a9be7d5a to your computer and use it in GitHub Desktop.
Hosts Update
# update hosts file
function hup {
echo "192.168.10.10 $1.local" | sudo tee -a /etc/hosts
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment