Type any one of the following command to find os name and version in Linux: cat /etc/os-release lsb_release -a hostnamectl