linux check distro code example
Example 1: check the linux distribution
cat /etc/os-release
Example 2: get linux distro from terminal
dmesg | head -1
Example 3: linux version
lsb_release -a
cat /etc/os-release
dmesg | head -1
lsb_release -a