Introduction
Ubuntu is a free, open-source Linux-based operating system, which has a long list of release versions.
In this tutorial, We will show you how to check the Ubuntu version running on your machine.
Check Ubuntu Version in Terminal
- Check Ubuntu Version with lsb_release -a Command
lsb_release -a
The output displays the current version of Ubuntu 20.04.3 LTS
- Check Ubuntu Version with cat /etc/lsb-release
cat /etc/lsb-release
- Also you can Check Ubuntu Version with cat /etc/*release Command to get more information about the Ubuntu release
cat /etc/*release
- Check Ubuntu Version with hostnemctl Command
hostnamectl
Conclusion
In this article, we showed you how to check the Ubuntu version via the command line.
Also you may want to check CentOS version, You can learn that from this article, Just visit this Link How to Check CentOS Version
Thanks.