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