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