Linux

How to Check Version of Linux

[ec2-user@ip-172-25-11-133 ~]$ cat /etc/os-release


NAME="Amazon Linux AMI"
VERSION="2018.03"
ID="amzn"
ID_LIKE="rhel fedora"
VERSION_ID="2018.03"
PRETTY_NAME="Amazon Linux AMI 2018.03"
ANSI_COLOR="0;33"
CPE_NAME="cpe:/o:amazon:linux:2018.03:ga"
HOME_URL="http://aws.amazon.com/amazon-linux-ami/"
[ec2-user@ip-172-25-11-133 ~]$
[ec2-user@ip-172-25-11-133 ~]$ uname -r
4.14.72-68.55.amzn1.x86_64

Find Commands in Linux

sudo find / -type f -name "ec2.py"