bash get os name code example
Example 1: cat /etc/os-release
cat /etc/os-release
Example 2: how to find distro name
cat /etc/os-release
lsb_release -a
hostnamectl
Type the following command to find Linux kernel version:
uname -r
cat /etc/os-release
cat /etc/os-release
lsb_release -a
hostnamectl
Type the following command to find Linux kernel version:
uname -r