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