Last active
August 29, 2015 14:05
-
-
Save meganlkm/7535f902c0b9512526a8 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
# get external ip | |
wget -q -O - checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//' | |
# javafy regex | |
echo '/^\d{5}\\(?:[-\s]\d{4})?$/' | sed 's/\\/\\\\/g' | |
# loop to make dirs | |
for i in {1..5}; do mkdir unit$i; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment