Cómo verificar Linux es Ubuntu o Centos
awk -F= '/^NAME/{print $2}' /etc/os-release
Frightened Fly
awk -F= '/^NAME/{print $2}' /etc/os-release