Created
February 4, 2015 04:15
-
-
Save daleki/4a8059ad54f569844bc3 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
aws ec2 describe-network-interfaces | egrep "PrivateIpAddress.*10" | sed 's/[[:space:]]//g' | sed -E 's/"PrivateIpAddress":"|"$//g'| sort -u -n -t . -k 1,1 -k 2,2 -k 3,3 -k 4,4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment