How to Check the Ubuntu Version

In this article, you will learn how to check the Ubuntu version.

When managing a server or troubleshooting issues, knowing the version of Ubuntu installed on your system is essential. Below are simple methods to check your Ubuntu version using different tools and commands.

  1. Check Using “lsb_release” Command
    The “lsb_release” command provides full information about the Linux distribution.
    Steps:

    1. Open a terminal window.
    2. Type the following command:
      lsb_release -a
    3. Look for the description and release fields in the output to find your Ubuntu version.
  2. Check Using “/etc/os-release” File:
    This file contains information about the operating system.
    Steps:

    1. Open the terminal.
    2. Run this command:
      cat /etc/os-release
    3. Locate the VERSION or VERSION_ID line to identify your Ubuntu version.
  3. Check Using /etc/issue File:
    The “/etc/issue” file contains the version information shown before the login prompt.
    Steps:

    1. In the terminal, enter:
      cat /etc/issue
    2. The output will display the Ubuntu version.
  4.  Check Using “hostnamectl” Command:
    The “hostnamectl” command offers additional system information, including the OS version.
    Steps:

    1. Open the terminal.
    2. Execute the command:
      hostnamectl
    3. Look for the operating system field in the output.
  5. Check Using Graphical Interface (GUI):
    If you have access to Ubuntu’s graphical interface:

    1. Go to Settings → About.
    2. The Ubuntu version will be listed under OS Name or Details.

In this manner, you can use these methods to quickly find the version of Ubuntu running on your system. These commands are compatible with most Ubuntu distributions, ensuring you can install the right software and manage updates effectively.

Learn how to install Python 3 on Ubuntu 20.04 or 22.04 with this easy-to-follow step-by-step guide.

Popular Posts You May Read

Explore more hosting insights, tips and industry updates.

How To Update your cPanel & WHM

Are you finding any difficulties to update your cPanel& WHM version 88 then here is…

How to Add an Addon Domain in cPanel

An Addon Domain allows you to host an additional domain name on your existing hosting…

10 Questions about RAID Technology

Storage solutions, professionals, etc… always heavily loaded with RAID configuration. But do you know this…