check linux os distribution code example Example: how to check linux os cat /etc/os-release or hostnamectl