how to read current os distro version in bash code example Example 1: linux show version cat /etc/os-release Example 2: linux release name lsb_release -a