Command to check the Ubuntu version
Viewing 1 post (of 1 total)
- AuthorPosts
- July 9, 2022 at 11:57 AM #5118
Santhosh Kumar D
Keymaster@santhoshOne can quickly check the Ubuntu version using the
lsb_release
utility. This command displays LSB (Linux Standard Base) information about the Linux distribution.Open your terminal and type the following command:
lsb_release -a
You will get an output like this:
No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.4 LTS Release: 20.04 Codename: focal
The version of your Ubuntu is shown in the description line.
Instead of printing all the above information, if you just want to see the version of Ubuntu, use the following command.
lsb_release -d
You will get an output like this:
Description: Ubuntu 20.04.4 LTS
Learn more Linux commands.
- AuthorPosts
Viewing 1 post (of 1 total)
Advertisement
RECENT TIPS
- How to send email as an alias in Gmail?
- How to stop Google from tracking your location?
- Command to check the Ubuntu version
- How to add a percentage in Excel?
- How to convert currencies in Google Sheets?
- How to voice type on Google Docs?
- What is Django framework?
- How to turn Google Assistant off?
- How to check the Python version?
- How to create a virtual environment in Python?
- How to change the directory in the Command Prompt?
- How to add a shortcode in WordPress PHP template file?
- Useful websites to research stocks
- How to check Linux uptime?
- How to check Linux last reboot time?