cBrandon Community

General Category => Raspberry Pi => Topic started by: branx86 on April 22, 2026, 04:51:16 PM

Title: How to retrive the Linux OS version from the terminal
Post by: branx86 on April 22, 2026, 04:51:16 PM
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