Sometime, I need to recall the Linux version I'm using inside the Virtual Box. I know it's Xubuntu, but which version is it? Usually the commands to do things keep the same. However, they do change from version to version in rare occacions. Type the command below in any terminal window, you'll ge the answer straigh away.
cat /etc/os-release
The output is something like:
NAME="Ubuntu" VERSION="18.04.2 LTS (Bionic Beaver)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 18.04.2 LTS" VERSION_ID="18.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=bionic UBUNTU_CODENAME=bionic
No comments :
Post a Comment