check os on linux code example
Example 1: how to check linux os
cat /etc/os-release
or
hostnamectl
Example 2: linux show version
cat /etc/os-release
Example 3: linux version command
lsb_release -a
cat /etc/os-release
or
hostnamectl
cat /etc/os-release
lsb_release -a