check available ubuntu code example Example 1: ubuntu version command line cat /etc/os-release Example 2: ubuntu version command line cat /etc/issue