Skip to content

Instantly share code, notes, and snippets.

@jtescher
Created February 28, 2013 18:41
Show Gist options
  • Save jtescher/5059049 to your computer and use it in GitHub Desktop.
Save jtescher/5059049 to your computer and use it in GitHub Desktop.
Amazon EC2 Instance private IP addresses
ec2-describe-instances --region us-west-2 | grep INSTANCE | awk {'print $5'} | awk -F"." '{print $1}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment