check the version of ubuntu from terminal release year code example Example: ubuntu terminal get version lsb_release -a