Created
May 25, 2012 23:05
-
-
Save tkak/2791085 to your computer and use it in GitHub Desktop.
To set env value to registered DNS IP address ref: http://qiita.com/items/b01198b48ecac47c02c6
This file contains hidden or 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
ip=`host \`hostname\` | cut -d" " -f4` | |
echo ${ip} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment