Skip to content

Instantly share code, notes, and snippets.

@my-janala
Created October 17, 2016 09:28
Show Gist options
  • Save my-janala/7ac09e0a72890a8abb231cce77b3d4c7 to your computer and use it in GitHub Desktop.
Save my-janala/7ac09e0a72890a8abb231cce77b3d4c7 to your computer and use it in GitHub Desktop.
To find out OS tyepf for Amazon Linux, use file /etc/os-release
# cat /etc/os-release
NAME="Amazon Linux AMI"
VERSION="2015.09"
ID="amzn"
ID_LIKE="rhel fedora"
VERSION_ID="2015.09"
PRETTY_NAME="Amazon Linux AMI 2015.09"
ANSI_COLOR="0;33"
CPE_NAME="cpe:/o:amazon:linux:2015.09:ga"
HOME_URL="http://aws.amazon.com/amazon-linux-ami/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment