how to know what version of linux you are running code example Example 1: get linux distro from terminal dmesg | head -1 Example 2: linux version lsb_release -a