April 16

0 comments

An easy way to determine which version of Linux you are running.

By Christopher G Mendla

April 16, 2019


Last Updated on October 14, 2023 by Christopher G Mendla

Determining the exact version of Linux you are running is fairly simple. Use this command to find your Linux version.

Find your Linux version
Find your Linux version

Simply use the command cat /etc/os-release

The results will look similar to the following

chris@chris-VirtualBox:~$ cat /etc/os-release
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

You can check to see the release history for your distro of Linux. In this case, the system is using Ubuntu. You would look up the release history for Ubuntu

Christopher G Mendla

About the author

A web developer living in Southampton, PA

Self motivated critical thinker and problem solver providing technology consulting services.

Leave a Reply

Your email address will not be published. Required fields are marked

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}