current ubuntu versions code example Example: ubuntu version lsb_release -a cat /etc/os-release lsb_release -a