check distro version code example Example 1: check the linux distribution cat /etc/os-release Example 2: cat /etc/os-release cat /etc/os-release