linux know the type of distro code example
Example 1: find operating system linux
#Get details about linux distro
cat /etc/os-release
Example 2: get linux distro from terminal
dmesg | head -1
#Get details about linux distro
cat /etc/os-release
dmesg | head -1