how to check which linux version is installed code example Example 1: linux version command lsb_release -a Example 2: cat /etc/os-release cat /etc/os-release