Computer Science Atlas

Ubuntu: Show the Ubuntu Version You're Using

February 15, 2021
Table of Contents

Step 1. Open a Terminal Session

If you're using an Ubuntu laptop or desktop, you can press Ctrl + Alt + T on your keyboard to open a new terminal window. If you're using a remote Ubuntu server, you can connect using SSH to open a new terminal session.

Step 2. Use lsb_release

Run the following command to see Ubuntu version info:

lsb_release -a
lsb_release -a

You should see output similar to the following:

No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04 LTS
Release:	20.04
Codename:	focal