How to check your Ubuntu Version?
Ubuntu is a popular open-source operating system. It is used widely by Linux lovers, and Its Gnome feature gives it a new edge to make it popular amongst other open-source systems.
When we open ubuntu, a question comes to mind, what version of ubuntu am I using? and then we start searching to know the version details.
In this article, we will learn to check the version of your current installed ubuntu. So, let's start by exploring.
Check Ubuntu Version using Gnome Graphics
It is one of the simplest ways to check the version, just go to the top corner of the desktop and click, and then select settings.
After selecting settings, the following screen will be shown, click on the about section in the left menu, and it will show all the details of our current system.
Check Ubuntu Version using hostnamectl command
hostnamectl command can be used to check the current Ubuntu version as it returns all the details related to hostname settings.
Check Ubuntu Version using lsb_release command
lsb_release command can be used to get the Ubuntu version. It returns distribution information of the operating system. Here, -a is used to print all the information.
If we want to get only single-line information then use -d option with this command.
Check Ubuntu Version using cat /etc/issue command
cat command is used to display the content of a file. Here, we are using it to display the content of the /etc/issue file that contains system identification text.
Check Ubuntu Version using cat /etc/os-release command
If you are using the latest version of ubuntu 16 or higher, this command works for you. The os-release file contains information related to the operating system and its release.
In this article, we learned how to know and get the Ubuntu version. We used Gnome graphics, lsb command, os-release, /etc/issue, etc files. I hope after reading the article, you can easily get your system version.