How to Check OS Version and Flavor in Linux


If you need to check the version and flavour of the running Linux instance, then you can try the below commands:

cat /etc/os-release
lsb_release -a
hostnamectl