Created
June 30, 2016 16:52
-
-
Save gianrubio/e1006d3a7fe00cfafe6c0ba36ba2988a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo 127.0.0.1 localhost > /etc/hosts | |
echo `ifconfig eth0 | awk '/inet addr/{print substr($2,6)}'` `hostname` >> /etc/hosts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment