Type any one of the following commands to find the OS name and version in Linux:
hostnamectl

cat /etc/os-release

lsb_release -a

Type the following command to find the Linux kernel version:
uname -r

Type any one of the following commands to find the OS name and version in Linux:
hostnamectl

cat /etc/os-release

lsb_release -a

Type the following command to find the Linux kernel version:
uname -r
