current ubuntu version from terminal code example Example: ubuntu terminal get version lsb_release -a