How to retrive the Linux OS version from the terminal

Started by branx86, April 22, 2026, 04:51:16 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

branx86

lsb_release -a   =Gives the Codename and Release number

hostnamectl      =Gives the hostname, OS name, Architecture,Boot ID, Machine Id

cat /etc/os-release  =Gives the OS Name, Version number, Code name,ID

uname -a        =Give the Linux kernel version, armv6l (ARMv6) and armv7l (ARMv7) are 32-bit CPU architectures