ItSolutionStuff.com

How to Check Ubuntu Version in Terminal?

By Hardik Savani • May 1, 2024
Ubuntu

Hi Dev,

In this quick guide, we will teach you how to check ubuntu version in terminal. This article will give you a simple example of how to check ubuntu version command line. I’m going to show you about check ubuntu version in terminal. Here you will learn how to check linux version in terminal. So, let us dive into the details.

I will give you very simple command to check which version of ubuntu are you using it. it will show you the ubuntu version like ubuntu 18.04, ubuntu 20.04, ubuntu 22.04 or ubuntu 23.04 etc. so, let's see the following lsb_release command with -a option.

You will find all the details of your current installed ubuntu version:

Command:

lsb_release -a

Output:

You will see the output of command:

No LSB modules are available.

Distributor ID: Ubuntu

Description: Ubuntu 23.04

Release: 23.04

Codename: lunar

You can also see the screenshot:

I hope it can help you...

Tags: Ubuntu
Hardik Savani

Hardik Savani

I'm a full-stack developer, entrepreneur, and founder of ItSolutionStuff.com. Passionate about PHP, Laravel, JavaScript, and helping developers grow.

šŸ“ŗ Subscribe on YouTube

We Are Recommending You

ā˜…

How to Upgrade PHP Version from 8.1 to 8.2 in Ubuntu?

Read Now →
ā˜…

Ubuntu PHP ZIP Extension Install Commands Example

Read Now →
ā˜…

How to Install PHP imap Extension in Ubuntu?

Read Now →
ā˜…

How to Install PHP Curl Extension in Ubuntu?

Read Now →
ā˜…

How to Increase max_input_vars in PHP Ubuntu?

Read Now →
ā˜…

How to Increase post_max_size in PHP Ubuntu?

Read Now →
ā˜…

How to Check Current PHP Version in Ubuntu?

Read Now →
ā˜…

How to Check Apache Access & Error Log Files in Ubuntu Server?

Read Now →
ā˜…

How to Whitelist/Allow IP Address in Apache Ubuntu?

Read Now →
ā˜…

How to Restrict/Block IP Address in Apache Ubuntu?

Read Now →
ā˜…

How to Install Laravel in Ubuntu Server?

Read Now →
ā˜…

How to Install Composer in Ubuntu Server?

Read Now →
ā˜…

How to Import Database in Mysql using Command Line in Ubuntu?

Read Now →
ā˜…

How to Enable Apache mod_rewrite Module in Ubuntu?

Read Now →