Amazon Linux
Amazon Linux 2
Amazon Linux version 2 is the current iteration of Amazon's default EC2 Linux-based operating system on AWS. You can verify the version of Amazon Linux you are running by running this command:
[jamie@ca.dawgland.com:/etc]$ cat /etc/system-release
This should produce similar version output:
Amazon Linux release 2 (Karoo)
To see more detailed information on the Amazon Linux OS version, type this command and his the ENTER key:
[jamie@ca.dawgland.com:~]$ cat /etc/os-release
Hit the ENTER key after typing the above command, and you should see similar output:
NAME="Amazon Linux" VERSION="2" ID="amzn" ID_LIKE="centos rhel fedora" VERSION_ID="2" PRETTY_NAME="Amazon Linux 2" ANSI_COLOR="0;33" CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2" HOME_URL="https://amazonlinux.com/"