linux get distro code example Example 1: linux release name lsb_release -a Example 2: linux get distro cat /etc/os-release