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