how to check os version in linux command line code example
Example 1: find operating system linux
#Get details about linux distro
cat /etc/os-release
Example 2: how to check linux os
cat /etc/os-release
or
hostnamectl
Example 3: linux show version
cat /etc/os-release