In AWS I need to add amazon linux instance to domain based on this article. However how do i know which Amazon Linux version the instance is using. I do not have access to AWS console. But i do have access to actual instance. What linux command i should be using.
I use uname -srm
command which returns Linux 4.4.0-1057-aws x86_64
Not sure if this is Amazon Linux 1 or Amazon Linux 2