distro info terminal code example Example 1: check the linux distribution Click to copycat /etc/os-release Example 2: get linux distro from terminal Click to copydmesg | head -1