HostOnNet Blog

How to check Ubuntu version in terminal

Looking for Linux Server Admin or WordPress Expert? We can help.

If you have forgotten the version of your Ubuntu OS then follow this tutorial which explains how to find the Ubuntu version.

Open the Terminal (keyboard shortcut: Ctrl+Alt+T)

In the terminal type following command:

lsb_release -a 

Your version will be shown on the Description line.

hostonnet@hostonnet:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04 LTS
Release:	16.04
Codename:	xenial

So we easily find our Ubuntu Version is 16.04

You can also use

cat /etc/*issue



cat /etc/*release

About Annie

I've been working in Technical Section for over 10 years in a wide range of tech jobs from Tech Support to Software Testing. I started writing blog for my future reference and useful for all.
Posted in Linux, Ubuntu

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.