check os linux code example
Example 1: find operating system linux
#Get details about linux distro
cat /etc/os-release
Example 2: check the linux distribution
cat /etc/os-release
Example 3: how to check linux os
cat /etc/os-release
or
hostnamectl
Example 4: linux version command
lsb_release -a
Example 5: cat /etc/os-release
cat /etc/os-release
Example 6: linux version
sudo uname -a