Linux How to Check Operating System (O/S) Version
Type any one of the following command to find os name and version in Linux:
cat /etc/os-release lsb_release -a hostnamectl
| stevet@wiki:/var/lib/mediawiki$ cat /etc/os-release NAME="Ubuntu" |
| stevet@wiki:/var/lib/mediawiki$ lsb_release -a No LSB modules are available. |
stevet@wiki:/var/lib/mediawiki$ hostnamectl
Static hostname: wiki
Icon name: computer
Machine ID: 561a386d67b140d1829ee7e3e33293b9
Boot ID: a478669cfef54a6a9b46195b82923dcc
Operating System: Ubuntu 20.04 LTS
Kernel: Linux 5.4.0-1013-raspi
Architecture: arm64
|
Type the following command to find Linux kernel version:
uname -r
| stevet@wiki:/var/lib/mediawiki$ uname -r
5.4.0-1013-raspi
|