To check the current version of Ubuntu, we have to follow these steps:
  • Open the terminal
  • Put the command lsb_release -a
  • A message will be followed up like this:
BY Best Interview Question ON 22 Mar 2020

Example

$ lsb_release –a

No LSB modules are available.

Distributor ID: Ubuntu

Description: Ubuntu 17.10.3 LTS

Release: 17.10

Codename: trusty

(The release and description numbers are an example here)

The List of common Ubuntu terminal commands.