Version Linux Show
cat /etc/os-release
TheDutchScorpion
cat /etc/os-release
cat /proc/version
cat /etc/os-release
lsb_release -a
hostnamectl
Type the following command to find Linux kernel version:
uname -r
cat /etc/os-release
#The best way to check Redhat version is using cat /etc/os-release command. All we need is to open the terminal and type cat /etc/os-release. It will list the Linux OS distribution name and release version information. This works on almost all Redhat system.
$ cat /etc/os-release
NAME=”Red Hat Enterprise Linux”
VERSION=”8.4 (Ootpa)”
ID=”rhel”
ID_LIKE=”fedora”
VERSION_ID=”8.4″
PLATFORM_ID=”platform:el8″
PRETTY_NAME=”Red Hat Enterprise Linux 8.4 (Ootpa)”
ANSI_COLOR=”0;31″