Last mod: 2024.11.15
How to check OS Debian/Ubuntu version
Sometimes we need to check the name and version of the Debian/Ubuntu distribution. I have at least three methods for doing this.
We have serveral metods to check version of the Debian/Ubuntu distribution.
- LSB (Linux Standard Base) and Distribution information.
lsb_release -a
- Read directly from system file /etc/os-release
cat /etc/os-release
- Pring information about kernel name, version, and architecture.
uname -a
- The /proc/version file provides information about the Linux kernel version details too.
cat /proc/version