find linux distribution code example
Example 1: check the linux distribution
cat /etc/os-release
Example 2: linux release name
lsb_release -a
Example 3: how to find distro name
cat /etc/os-release
lsb_release -a
hostnamectl
Type the following command to find Linux kernel version:
uname -r