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