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