How to Check Your Ubuntu Version

The following command works with all Ubuntu versions.

lsb_release -a


You should receive a result similar to the following:

Distributor ID: Ubuntu
Description:    Ubuntu 14.04.1 LTS
Release:        14.04
Codename:       trusty


The output can be interpreted with the following key:

14 – Year Released
04 – Month Released
1 – Minor Revision
LTS means “Long Term Support”. Every fourth release, in the second quarter of even-numbered years, is designated as such. This indicates they will be supported and receive updates for five years.

  • 41 Users Found This Useful
Was this answer helpful?

Related Articles

How to Add a User and Grant Root Privileges on Ubuntu 12.04

Step 1: Add the User It’s just one simple command to add a user. In this case, we’re...

How to View Logs for a Docker Container

View Logs for a Docker Container If you’re currently attached to a docker instance, then...

Error: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 on Ubuntu [SOLVED]

Option #1: Multiple ‘Listen’ Directive Entries in Configuration Files In some cases...

How to Display MySQL Storage Engines

How to Display MySQL Storage Engines From the MySQL command line, issue the following command:...

How to Install and Connect to PostgreSQL on Ubuntu 12.04

Step 1: Install PostgreSQL First, you’ll follow a simple best practice: ensuring the list...

Powered by WHMCompleteSolution