Checking the OS from the bash script code example Example 1: linux show version cat /etc/os-release Example 2: cat /etc/os-release cat /etc/os-release