Quickly Find Your Ubuntu Version with Terminal: Easy Steps

Quickly Find Your Ubuntu Version with Terminal: Easy Steps

If you are an Ubuntu user and want to check the version of Ubuntu you are using, you can easily do so using the terminal. In this article, we will discuss how to check the Ubuntu version using the terminal.

Ubuntu is updated regularly, and each new release comes with updated software packages and improved features. Therefore, it is essential to know which version of Ubuntu you are using so that you can check if any updates are available and install them. Here's how you can check the Ubuntu version using the terminal.

Step 1: Open the Terminal

To open the terminal, press Ctrl+Alt+T on your keyboard. Alternatively, you can click on the terminal icon in the applications menu.

Step 2: Type the lsb_release Command

In the terminal window, type the following command and press Enter:

lsb_release -a

This command will display the Ubuntu version you are currently using, along with other system information. The output will look something like this:

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.1 LTS
Release:        22.04
Codename:       jammy

The output shows that the user is running Ubuntu 22.04.1 LTS, which is the latest version of Ubuntu as of April 2023.

If you only want to see the Ubuntu version number, you can use the -r option with the lsb_release command. Type the following command in the terminal:

lsb_release -r

The output will show only the Ubuntu version number, like this:

Release:        22.04

This output confirms that the user is using Ubuntu 20.04.

Conclusion

In conclusion, checking the Ubuntu version using the terminal is a simple and easy process. With just one command, you can find out which version of Ubuntu you are using and whether any updates are available.

Knowing the Ubuntu version is essential for keeping your system up-to-date and ensuring compatibility with software packages. So, the next time you need to check your Ubuntu version, just open the terminal and run the lsb_release command.

PS: I love geeking out on Twitter about software engineering-related things, you can connect with me on Twitter(@ehoneahobed) and send me a DM if you want us to chat.

Did you find this article valuable?

Support Dr. Ehoneah Obed by becoming a sponsor. Any amount is appreciated!